Question
Why are the {{ticket.link}}
and {{ticket.url}}
placeholders not rendering?
Answer
For these placeholders to render within tickets, you must have an active Help Center. The placeholders generate links so end users can check their requests. If you encounter a use case where want to generate a ticket link, but keep your Help Center inactive, use HTML to create the hyperlink:
<a href="https://SUBDOMAIN.zendesk.com/agent/tickets/{{ticket.id}}">Click here to view the ticket</a>
For more information about placeholders, see the article: Using placeholders.
1 Comments
What about if you have an active help center and the place holders are still not rendering
I am trying to update the message format of our slack integration. I’d like to include the following data in the message:
{
"attachments":[
{
"fallback":"Ticket Updated:bangbang:",
"pretext":"Ticket Updated:bangbang:",
"color":"#D00000",
"fields":[
{
"title":"Subject: {{ticket.title}}",
"value":"{{ticket.url}}",
"requester":"Requester: {{ticket.requester.email}}",
"status":"Status: {{ticket.status}}",
"comment":"Comment: {{ticket.latest_comment_html}}",
"short":false
}
]
}
]
}
But only the "title":"Subject: {{ticket.title}}" and "value":"{{ticket.url}}" appear in the message
Please sign in to leave a comment.