Gelişmiş Arama¶
With Zammad, you can limit your search to specific attributes. This allows you to find e.g. tickets with specific key words and states. Below information will help you to improve your search results.
For instance, you can search for a ticket of a specific customer:
customer.firstname: John
veya:
customer.lastname: Doe
If you want to run a more complex search, you can use conditions
with () and AND/OR options:
state.name: open AND (article.from:me OR article.from:somebody)
Available Attributes¶
İpucu
For a more detailed list of available attributes please take a look into our Zammad System Documentation.
Nitelik |
Possible Values |
Örnek |
Açıklama |
|---|---|---|---|
numara |
1118566 |
numara:1118566 |
Search for a ticket number. |
başlık |
örnek başlık |
title:”örnek başlık” |
If you need to use spaces in the search phrase, use quotes. Zammad will do an AND-search over the given words. You can also use a single keyword without quotation. |
created_at |
2018-11-18 |
created_at:2018-11-18 |
Basit bir tarih, bir tarih aralığı veya >şimdi-xh kullanabilirsiniz. Lütfen tarih formatının YYYY-AA-GG şeklinde olması gerektiğini unutmayın. |
state.name |
yeni |
state.name: yeni |
You can filter for specific ticket states (and even combine them with an OR). Please note that you need to use the English naming for states, unless you have custom ticket states defined in your instance. |
article_count |
5 |
article_count:5 |
You can search for tickets with a specific number of articles (you can even search for everything with 5 or more articles or even up to 5 articles, if needed). |
article.from |
*bob* |
article.from:*bob* |
Show all tickets that contain articles from “Bob”. |
article.body |
heat |
article.body:heat |
First example shows every ticket containing the word “heat” - you can also use the fuzzy operator “~” to search for similar words like e.g. “head”. Zammad will also allow you to use regular expressions, where ever the attributes allows it. |
Combining Search Phrases¶
Duruma ve kullandığınız ifadelere bağlı olarak VE, VEYA ve KİME kullanarak arama ifadelerini birleştirebilirsiniz. Gerekirse, () ile karmaşık aramalar için arama ifadenizin bölümlerini yapabilirsiniz. Bu, farklı bağımlılıklarla (VE/VEYA) çeşitli ifadeleri birleştirmenize olanak tanır. Hariç tutmak istediğiniz arama sonuçları almanız durumunda, olumsuzlama ! kullanabilirsiniz. Aşağıda bununla kullanabileceğiniz bazı örnekler verilmiştir:
İfadeyi ara |
Açıklama |
|---|---|
state.name:(kapalı VEYA açık) VE (priority.name:”2 normal” VEYA tags:feedback) |
Kapalı veya açık durumdaki ve normal önceliğe veya etiket geri bildirimine sahip tüm biletleri gösterir. |
state.name:(kapalı VEYA açık) VE (priority.name:”2 normal” VEYA tags:feedback) VE !(Zammad) |
This gets the same result as above, expect that we don’t want the ticket to contain anything matching to “Zammad”. |
owner.email:bob@example.net VE state.name:(açık VEYA yeni) |
Show tickets from bob@example.net that are either open or new. |
state.name:pending* VE article_count:[1 TO 5] |
Bekleme durumunda ve 1’den 5’e kadar olan makale sayısının tümünü gösterir. |
Some Ticket Attributes and Their Type¶
Bilet ve makaleye göre sıralanmış en önemli özellikleri aşağıda bulabilirsiniz.
Ticket Attributes¶
number: string
title: string
group: object (group.name, …)
priority: object (priority.name, …)
state: object (state.name, …)
organization: object (organization.name, …)
owner: object (owner.firstname, owner.lastname, owner.email, …)
customer: object (customer.firstname, customer.lastname, customer.email, …)
first_response_at: timestamp
first_response_in_min: integer (ilk yanıta kadar geçen iş süresi)
close_at: timestamp
close_in_min: integer (kapatılana kadar geçen iş süresi)
last_contact_at: timestamp (müşteri veya temsilci tarafından son iletişim)
last_contact_agent_at: timestamp (temsilci tarafından son iletişim)
last_contact_customer_at: timestamp (müşteri tarafından son iletişim)
create_article_type.name: string (email|phone|web|…)
create_article_sender: string (Customer|Agent|System)
article_count: integer
escalation_at: timestamp
pending_time: timestamp
Article Attributes¶
article.from: string
article.to: string
article.cc: string
article.subject: string
article.body: string
article.attachment.title: string (ekin dosya adı)
article.attachment.content: string (ekin içeriği)
article.attachment.content_type: string (MIME type, e.g.
application\/vnd.oasis.opendocument.spreadsheet; see hint)İpucu
If a search for a file type doesn’t work, you have to provide the MIME type.
Make sure to escape the
/with a prefixed\.Examples:
LibreOffice spreadsheets:
application\/vnd.oasis.opendocument.spreadsheetLibreOffice text documents:
application\/vnd.oasis.opendocument.textMS Excel spreadsheets:
application\/vnd.openxmlformats-officedocument.wordprocessingml.documentMS Word text documents:
application\/vnd.openxmlformats-officedocument.wordprocessingml.documentPlain text files like .txt and .p7s:
text