Answer the question
In order to leave comments, you need to log in
How to use the OR operator in Zendesk search?
For example, you need to find all tickets with the words "Hello" or "Hello".
I didn't find anything in the documentation...
Answer the question
In order to leave comments, you need to log in
It seems that OR only works with properties if they are listed multiple times.
If submitting multiple search terms, search has a default AND behavior, rather than an OR behavior. For example, searching for the following phrase returns results only if all of the words are present, in any order.
However, when you use a data property keyword multiple times in a query, there is an OR search across the values you specified. The following phrase returns results that contain either the tag "silver" or the tag "bronze".
tags:silver tags:bronze
https://support.zendesk.com/hc/en-us/articles/203663226
The workaround is to get tickets via the API.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question