This Explore recipe demonstrates how you can make ticket IDs that you include in a chart into clickable links. The report viewer can click the link, and the selected ticket will open in Support. You can quickly create clickable links when you use the following chart visualization types:
- Bullet
- Gauge
- Sparkline
With a little extra work, you can also make ticket IDs in tables clickable.
In this recipe, you'll create a report that list all of your tickets with the number of agent replies. For each ticket ID displayed, you can click it to open the corresponding Support ticket.
What you'll need
Skill level: Easy
Time Required: 5 minutes
- Zendesk Explore Professional or Enterprise
- Editor or Admin permissions (see Giving agents access to Explore)
- Ticket data in Zendesk Support
How to create the report in Explore
You can click the preview below to watch a video of this recipe, or continue to the walkthrough.
- In Explore, click the query (
) icon.
- In the Queries library, click New query.
- On the Choose a dataset page, click Support > Tickets > Support: Tickets, then click New query. Query builder opens.
- Next, add your metrics, the things you want to measure; in this case, the number of agent replies for each ticket. In the Metrics panel, click Add.
- From the list of metrics, choose Activity > Agent replies, then click Apply.
Explore displays the results from the metric; in this case, the number of agent replies. - Next, create a standard calculated attribute for the clickable ticket ID. In the calculations menu (
), click Standard calculated attribute.
- On the Standard calculated attribute page, enter a Name for the attribute (for example Clickable link), and then paste or enter the following Formula:
LINK("https://<your subdomain>/agent/tickets/"+[Ticket ID],[Ticket ID])
Replace <your subdomain> with your own subdomain. For example, if your subdomain is support.zendesk.com, the formula would look like the one in the screenshot below:
Tip: If you're working in a language other than English, read this article to help you enter Explore formulas in your language. - When you are finished, click Save.
- In the Rows panel, click Add.
- From the list of attributes, choose Calculated Attributes > Clickable link, then click Apply. Explore displays the chart. For each ticket, the number of agent replies is shown. If you use the Bullet, Gauge, or Sparkline visualization types, you'll see that ticket links are now clickable. To get clickable links on tables, continue with these steps.
To make ticket links on tables clickable
- If you haven't done so already, from the visualizations menu (
), choose Table.
- From the chart configuration menu (
), choose Chart.
- From the Text interpretation drop-down list, choose HTML
- Ensure that the Clickable URL box is checked.
Now, when you click any ticket number in the Clickable link column, it will open a new Support window with the ticket details.
51 Comments
It's a pity one can't use calculated attributes in the drill through - no way to add ticket links there. Does anyone have a workaround?
I'm also looking for a way to add tickets links to the drill-through. Would love to know if there's some kind of solution
Hello Anton and Inbal,
Unfortunately this is not a feature of Drillthrough yet. This is however a great idea and I would recommend you post in the Explore Feedback Forum to make sure that our Product team is aware of this type of feature request.
When I add this clickable link attribute and add it to ROWS in a table report, it shows a ticket ID but it's not clickable. What gives?
EDIT: Disregard. For anyone with the same question, you need to add another step:
chart configuration > chart > text interpretation = HTML
You got it, Justin! Let us know if you need anything else!
Yes, would absolutely want to have clickable links in the drillthrough function as the way Insights did!
The explorer feedback link is broken. Also would like to add that clickable links is really necessary for drill through or to be able to just go into a list of the tickets and open them up the way we have in JIRA.
Here is the correct link. Please upvote.
https://support.zendesk.com/hc/en-us/community/posts/360029583513-Feature-Request-Add-calculated-attributes-to-Drill-Through-
Hi guys,
Thanks for this info allthough in our opinion this should be default behaviour - both having links to tickets, users and organizations as well as the ability to drill through on any given datapoint all the way to the ticket as this has been the X factor in Zendesk and Insights reporting. But this is what we have to live by until development!
Question - Should this Query work when placed on a dashboard? I get the link working while opening the Query directly but when placed on a dashboard it doesn't work?
Unrelated tip: You can easily also create user and organization links with the following calculated attributes:
And
I have added this calculated metric in one dataset (standard support tickets), but it's not visible when using a different dataset. So I've set it up again in the other dataset (ticket updates), but it's not showing up in rows/columns or filters. I've tried twice now.
Is it not possible within this dataset, or what is the reason to this?
I think it's absolutely ridiculous that ticket IDs aren't automatically clickable in reports, and you can't even copy the link ID, so you have to manually look up the number, having Zendesk open in a different window/tab.
So frustrating! It's adding so much extra time to ticket analysis/review/management.
This should be the default behavior for Ticket IDs like it is in Goodata.
This article is helpful, however, as others have stated, this is still a bit ridiculous that the ticket IDs and names are not automatically assigned to be clickable. Explore is such a pain in the butt to work with compared to insights that it boggles my mind that you brought it out so soon. It feels incomplete.
The interface for viewing the datasets is horribly inefficient. If you download a pdf you can't even see the entire list of information, it only shows the part that is visible within explore and you cannot even see more than a phone screen-sized portion of the report at a time. Is there a way to just easily view the information in a query?
It would also be nice if you could just change filters in a query instead of having to make numerous queries for different months or go and edit a query every time you wanted to review info. For instance, we have customer service meetings where we go over negative reviews and to look at a different month of reviews, I have to go in, update the query, then go back to the dashboard to see it, or just view it in the editing form.
I appreciate that help that has been provided via email, however, it seems like explore is currently just a large waste of time compared to how easy it was to get the same info with insights. If changes like this can be made so suddenly it concerns us as to what else might be drastically changed for no other reason to be made more costly or just become worse.
Hi Matthew Dealy, thank you for reaching out. You're raising valuable feedback:
Thanks
Hey Vincent,
Thanks for getting back to me.
• This will be wonderful! Thanks for working on that :)
• Awesome! Right now the PDFs don't export more than what you can see on screen which is really frustrating for the satisfaction query because the notes from customers become very long sometimes and it's not possible to see them entirely along with all of the other rows on the screen. The PDF export does not let you scroll sideways to see the other info. If the satisfaction comments could be made to use multiple rows in a query instead of being a super long single row, that would be ideal.
• I did figure out the last one about the month change with the data filter, thank you for that! :)
Hey Vincent,
I was able to solve the multi-line issue using the info in This article under the columns section.
The only thing to add is that it would be sweet if there were default queries that showed average first reply time and one-touch tickets with an average shown.
Thanks much!
Hey Matthew Dealy, many thanks for your replies.
Kind regards
Vincent
Hi,
when I try to add the Calculate Attribute to the rows panel, I get this error:
Any idea? Someone could help me?
Thanks in advance and Best Regards,
Enrique
Hi Enrique, I just worked through the recipe and I wasn't able to replicate the error you are getting. It's worth double checking you are using the correct dataset (Support: Tickets) and that the formula is pasted correctly. Failing that, we can open a ticket to have someone help you troubleshoot this.
I think I'm getting the same error as Enrique.
The set of calculations Calculated member named 'ticketnumberandlink-a29e859088' references 'Ticket ID' which is unknown as attribute. isn’t valid. Adjust the calculation and try again. (Error code: d309e848)
Hi guys, this is probably because you're using Zendesk and therefore Explore with another language than English. What you need to do is not put in ticket ID but whatever Zendesk suggest to you in your language. For example in Finnish that would be Tiketin tunnus
Or you can change your language to English and it would work with ticket id
Yes, you're right Henrik.
I'm using Zendesk in Spanish and in this case instead to use the parametter 'Ticket Id' the right name is 'Id del ticket'. Using this syntax all works fine:
LINK("https://XXXXXXX.zendesk.com/agent/tickets/" + [ID del ticket], [ID del ticket])
where XXXXXXX is your domain.
Thanks and Regards
Followed the steps and all the links are clickable while you are editing the query, though they are not clickable when you open the table on the dashboard. Are there any workarounds to make it work?
Hi Yana Popovych I just tested the recipe and wasn't able to replicate your problem. Did the person clicking the links have view only access to the dashboard or full access? If it continues to fail for you, let us know and I'll open a ticket.
Rob Stack seems like it's working now. Thanks
Excellent! Thanks for letting me know.
Hey! I did Step 7 and created the attribute, but when I go to Rows it is not a visible option I can select and add to my report. Any reason for that?
Note: I saved the report, published, reloaded the page, etc.
Hi Tiffany Miller it should be in the "Calculated attributes" folder when you click Add from the rows panel. It's also worth using the search box after you click add. If it still doesn't work, let us know and I'll open a ticket so someone can investigate your problem more closely. Thanks!
Is there a way to view the calculated attributes I created?
I tried to re-create the attribute because I didn't see it as an option after I searched or viewed under Calculated attributes to add as a row and saw this:
Would any sorting be impacting my ability to select it as a calculated attribute in the row?
Hi Tiffany Miller, sorry this is still causing problems. It sounds like you are doing everything correctly. I've opened a ticket so we can dig into this further with you. You should hear from someone soon.
Thanks Devan! My current open ticket has some questions in it that could be used for the AMA.
Please sign in to leave a comment.