Explore recipe: Excluding tickets closed by merge

Return to top
Have more questions? Submit a request

10 Comments

  • Farhan Virji

    I'm trying to look exclude merged tickets from my dashboard, but I don't want to create a custom metric - since I want to remove merged tickets from all of the metrics / charts on a particular tab.  However, I also want to see the metrics with merged tickets included.  I added Ticket Tags as a filter on the Dashboard Tab, yet when I exclude any tag, the data is not correct - it shows more tickets than with any filter applied.  

    Is this a known bug or am I don't something wrong?

    1
  • Keela Ross

    I am also interested in doing the above, or does it make sense to add as a filter on a given report? For example, I want to exclude tickets that were closed via merge from my heatmap report. 

    0
  • Kay Heunen
    Community Moderator

    Farhan Virji That won't work. The way the metric works is like this

    1. Loop thru all tickets
    2. Only return the Ticket ID if this ticket's tags do no contain closed_by_merge
    3. A list of ticket IDs with all tags that are not closed_by_merge will remain
    4. The D_COUNT makes sure that only Unique Ticket IDs are counted in the metric.

    The exclusion of a tag on your report therefore doesn't work, as step 4 is not taking in to account the unique ticket IDs. The solution (today) is to create the report with the separate tabs.

    Keela Ross You need to make sure metric in your report includes the formula from above.


    0
  • Keela Ross

    Thank you Kay Heunen! I'll definitely review and edit where needed. 

    0
  • Ahmad Reda

    Wouldn't adding a filter to exclude the Tag 'closed_by_merge' be as accurate in getting this job done?

    0
  • Cheeny Aban
    Zendesk Customer Advocate

    Hi Ahmad,

    Unfortunately, you can only exclude tickets closed by merge by following the recipe above.

     

    0
  • Chad Susa

    Thanks all. So what do we do with the metric when it's completed? Do we have to add it to all the queries that have been created?

    In our case we want to use the awesome default dashboards and queries but all those reports should exclude tickets with the closed_by_merge tag. So in this scenario do we:

    1. Clone the Dashboard (and queries)
    2. Go to each cloned query and add the metric above - save

    Then all queries should show the correct 'filtered' data?

    Seems like a lot of work. Surely filters, like a dashboard filter, should be able to do this? Otherwise why would I ever use a filter and, filtering results becomes a huge undertaking each time. Just can't wrap my head around filtering...and don't get me started on Drill-in :P

    Thanks

    Chad

    0
  • Jamie Martin

    I also created this custom metric in my reports but how to I utilize this so that it automatically removes these tickets from my retention rate for instance? I don't want the closed by merged tickets to be taken into consideration in retention since a dropped chat for instance will continue their retention when the customer returns to the chat. 

    0
  • Gab
    Zendesk Customer Advocate

    Hi Chad,

    You can create a custom attribute as described here: Using INCLUDE in a standard calculated attribute. You formula should look something like this:

    IF INCLUDES_ANY([Ticket tags], "closed_by_merge") THEN "Merged" ELSE "Not merged" ENDIF

    You should then be able to add this custom attribute as a data filter in your dashboard, and filter all query widgets to exclude merged tickets.

    1
  • Gab
    Zendesk Customer Advocate

    Hi Jamie,

    When you use the custom metric described in this guide in your query, then the results displayed in your report will already have the merged tickets excluded. If you have multiple metrics in your report, then it may be better to use a custom attribute filter, similar to the sample above.

    0

Please sign in to leave a comment.

Powered by Zendesk