[email template] enable HTML markup of (custom) fields

Some of our (custom) fields are using a HTML (wysiwyg) renderer and when these fields are included in emails the HTML characters are escaped (tags are displayed) and not displayed as they are in JIRA.

What is the best approach to properly render HTML content in emails, based on the configured renderer for fields?

I have looked here: https://confluence.atlassian.com/display/JIRA/Customising+Email+Content and found customisation is not supported, so any support from the community is appreciated

1 answer

You could try #disable_html_escaping() and #enable_html_escaping() directives that comes with jira 5.1.1.
Don't tried myself and it just suggestion.

If it can't help that maybe jira email template system has some layer between customfield representation and email velocity template that automatically escapes customfields. You should check it.

Last chance here is replace standart notification system with yours but it is tricky and error-prone.

In my case that option was the best but I had more serious requirements to emails. In that case you can check my answer it this topic

Sorry it is like I leave recursive link. Do not click on it. This one is right : https://answers.atlassian.com/questions/72834/email-notifications-based-on-if-then-statements

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,852 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot