最近搜索


没有最近搜索

Searching tickets with OR logic using Java Client



已于 2023年10月24日 发布

Hi mates,

using Java zendesk client I am trying to search tickets that have a custom field that belongs to a given set. For example I want to get the ticket that their custom field "f1" value is "v1" OR "v2".

According to doc if I repeat the property keyword it will act as an OR logic but it does not. 

I'm doing:

String query = "custom_field_xxxxx:value1" + "custom_field_xxxxx:value2";
Iterable<Ticket> ticketsFromSearch = zendesk.getTicketsFromSearch(query);

I have a ticket that matches that "value2" but no ticket is returned.

How should I do this?

Thanks in advance!


0

0

0 条评论

      登录以发表评论。

      找不到所需的内容?

      新建帖子