• Amit Chinchane

    Is it possible to have And operator used in the Search API call for tickets?


    I am looking for something like 

    "/api/v2/search.json?query=type:ticket status<=closed tags:check_for_migrated & tags:!GDPR"
  • Christopher Kennedy
    Zendesk Developer Advocacy
    Hi Amit,
    There isn't a way to explicitly specify matching logic with operators like AND (&), OR (||), etc.  Search will use AND logic for the supplied terms, unless when searching for multiple values of the same property.  So for example, given the terms tags:silver tags:bronze, search will employ OR logic.  We break this down in further detail in our search reference.

Please sign in to leave a comment.

Powered by Zendesk