Searching tickets

Return to top

48 Comments

  • Erik Greenwood

    Thank you Dwight, I will check out the search syntax

    0
  • Maurice Horan

    Is there a way to search for tickets that have no type i.e. that aren't tickets, incidents, problems, tasks etc?

    I have a number of tickets in my queue that don't have any type and I need to quantify them.

     

     

    0
  • Cheeny Aban
    Zendesk Customer Care
    Hi Maurice, 

    Is there something common with those tickets? If yes, I suggest that you create an Explore report and use that common information like tag, email, and or created date, as a filter to show those tickets on your report. 
    0
  • Antal Clavel

    Is there a way where I can search in the contents of a PDF attachment in tickets?
    (eg. I am looking for an order" which is referred to in the PDF but not in the accompanying email text.)

    0
  • CJ Johnson

    I just cannot make any part of custom fields search actually work.  I have one that has literally thousands of tickets with values.  

    I couldn't get it to work for any specific value, so I tried the star method, and even that says no matches. Has there been an update to this feature? Can we no longer search by custom field values? 

    0
  • Dave Dyson
    Hi CJ - 
     
    Your screenshot (thanks for including that) makes it look like there's a blank space between "custom_field_" and the field ID number. Can you try removing that blank space and see if that helps?
    0
  • CJ Johnson

    @... I can confirm there's no space. Also, this same search works great via the API without issue.

    0
  • Dave Dyson
    Hi CJ, thanks for your patience. I've tested custom field search in my own test instance and it seems to be working. For example, I have a regex field, and custom_field_1500011198782:* returns both tickets that have a value for that field. Prepending a minus ahead of that returns every ticket except those two, and I can also search specifically for the values in that field and it all is working fine for me. Are you still seeing issues with this?
     
    I'll add that when searching for specific values for drop-down fields, I had to use the tag instead of the string value, but otherwise it worked fine for that field as well.
     
    If you're still unable to get results in the Support agent interface's search function, let me know and I'll create a ticket on your behalf. 
    0
  • Tim Burgess

    Hi!

    I'm facing an issue with the search page resetting the sort order when opening a saved search link.

    * I write a search string including an order_by:X and sort:desc clause, and I wish to be able to send the results of this search to colleagues (to pin at the top of a slack channel for my team)

    * I select "copy link", and indeed I get a link containing the full search string including the order_by clauses.

    * However, when I _use_ that link e.g. in a new tab, or by sending to a colleague, when the page opens the sort order and order_by terms are gone.

    Any ideas?

    Thanks!

    Tim

    0
  • Dwight Bussman
    Zendesk Customer Care

    HeyO Tim Burgess - This is a known issue that's currently under investigation by our search team. Please keep an eye on our release notes for announcements when a fix for this is released.

    0
  • Collin C

    Is there a keyword for searching only the initial comment of a ticket? In all other contexts this is called the "description," but in search this seems to include any subsequent comments on the ticket as well. I think this is misleading.

    0
  • Dane
    Zendesk Engineering
    Hi Collin,

    Unfortunately, once a keyword has been entered, it will search for all the ticket comments on the ticket and there's no option to restrict it just on the ticket description.
    0
  • Sol J

    I have integrated Salesforce, and a ticket created from Salesforce and synced to Zendesk as the origin as "Via system". What is system?

    I'd like to use this as a trigger condition but couldn't find "system" in the channel drop down list.

    0
  • Gabriel Manlapig
    Zendesk Customer Care
    Hi Sol J,
     
    Please see this helpful article to help determine how tickets are created and from what channels:

    How was that ticket created?
     
    "If a ticket is created from a web application that is connected to Zendesk, such as a custom app, you will see Via System notated under the ticket subject line."

    A custom field would be necessary if you want to identify these tickets created from Salesforce in a trigger in Support. Or, also add the condition mentioning about the subject text - it depends on what you want exactly and your own setup.

    I hope that helps!
     
    0
  • Eckhard Doll

    I am currently trying to find all tickets that include an attachment.

    has_attachments:true gives odd results. 83 tickets are found which is far too few but 1455 side conversations are listed. Are there any details on what exactly counts as an attachment and how this search works?

     

    0
  • Dwight Bussman
    Zendesk Customer Care

    HeyO Eckhard Doll

    I've seen other examples of this and the most comment reason is that it's possible to embed inline images using HTML which function as attachments, but aren't technically directly "attached" to the ticket in a standard sense. This is tricky to detect from an API perspective: where do we draw the line in terms of an inline image being counted as an attachment. 

    If you have examples that aren't returned by the has_attachments:true that you'd like us to look into, please contact our support team to do so, but the short version is that tickets will only be indexed for search as having attachments when those are formally attached directly within the ticket itself (i.e. not just referenced in the html_body of a comment). 

    0
  • Jeff

    Noticed recently that if you attempt to use your Search Zendesk Support box and you add multiple tags, you will not show results for those tags anymore and your search criteria will only apply to one (1) tag entered. 

    0
  • Dwight Bussman
    Zendesk Customer Care

    HeyO Jeff, 

    I'm not certain the part of our product to which you're referring, and would encourage you to contact support if you're seeing behavior that seems unexpected. 

    If this is referring to the Search Filters: 

    These appear to return results for either tag, making this search akin to 

    type:ticket tags:waffles tags:consumer_electronics

    where any ticket with either of those tags should be included in the results.

    0

Please sign in to leave a comment.

Powered by Zendesk