Please note: this article is for Jira Data Center version 8.20.0 or later. It covers both standard and batching email notifications.
Why do I see HTML tags in Jira email notifications?
Jira uses a diff renderer to highlight changes made by a user with a green and red background. This diff renderer cannot display changes in an HTML document and forces the plain text format.
Solution
To correctly display email notifications containing JEditor-enabled field updates, Jira needs modified email templates. Here's how to replace the default Jira email templates with the modified templates:
- For Jira 8.20+, download templates-jeditor-jira-8.zip
- For Jira 9.4+, download templates-jeditor-jira-9.zip
- For Jira 10+, download templates-jeditor-jira-10.zip (see additional info below)
- Navigate to
Jira administration > System > Mail > Email templates - Click
Upload .zipand select the downloadedtemplates-jeditor-jira-v.zipfile - After uploading, Jira should report that templates have been uploaded successfully. You need to wait around 5 minutes for Jira to apply the changes.
Notes:
- You don't need to restart Jira nodes after uploading the templates
- Modified templates survive Jira restarts
- Modified templates are stored in the shared Jira home directory
- You don't need to re-upload these templates when you upgrade JEditor
Additional information about uploading templates in Jira 10
There's a bug in Jira 10 that prevents uploaded templates from functioning properly.
Try using the workaround from this bug report: https://jira.atlassian.com/browse/JRASERVER-78661.
If the workaround doesn't resolve the issue and the error persists in atlassian-jira.log, create a support ticket, and we'll assist with the manual installation of the templates.
0 Comments