How can I avoid the entire HTML code that comes out when the comment section is included in the message sent to Slack?

Modified on Sun, 9 Mar at 4:25 PM

When you are using dynamic variables to configure custom messages for Slack, please use the following variables for ticket description, last public note, and last private note so that only the text content of the description and notes is sent to Slack. 


Otherwise, the HTML tags will get pushed to slack as well.


You can replace the placeholder with {{ticket.description_text}} or {{ticket.description | strip_html}} instead of {{ticket.description}} and this will just have the text portion included in the notification.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article