Plan requirement
| Subscription | Suite Professional or higher, Explore Professional or higher |
| Access | Admin |
Explore holds no attachment data, so counting tickets with attachments means tagging them with a trigger first.
Can I report on attachments? How many tickets have attachments? Is there an attachment attribute in Explore?
There is no metric or attribute in Explore that captures attachment data, so there is nothing to count directly. Zendesk's own suggestions are to download the attachments on a single ticket, or to run a JSON ticket export, which does include the attachment links.
Neither of those is a report. For an actual number you have to put something on the ticket that Explore can see, and that means a tag.
Making it reportable with a trigger
Create a trigger with the condition Ticket > Attachment set to Present, give it the action of adding a tag such as has_attachment, and report on that tag in Explore like any other.
Three things to know before you rely on it. The condition looks at the update, not the ticket as a whole, so it fires on the update that carried the file. Inline attachments added through a macro are not counted, which is a real gap if your team pastes images into macro responses. And attachments are a property of a comment, so an update carrying a file and no text meets nothing: the file arrives untagged and your count is short.
The larger catch is the same one every tag-based report has: it starts from the day you switch it on and says nothing about the tickets you already have. If attachments matter to you at all, create the trigger now, long before anybody asks for the number.
Comments
0 comments
Article is closed for comments.