Jira notification emails contain HTML tags

Notification format

JEditor is a rich text editor with HTML under the hood. When you edit a Jira field, JEditor generates HTML code and submits this code to Jira. To keep the formatting intact the data are stored in HTML format.

You need to setup your Jira to use HTML format as the default format for emails to receive rendered notifications. If you are receiving all your notifications with visible HTML tags, then your default email format is plain-text.

JIRA Administrators can specify the default email format under Administration > Users > User Preferences.

Why do I still see HTML tags in Jira notifications after I switched to HTML format?

Some notifications (e.g. Issue Updated and Comment Updated) will keep coming with visible HTML tags. Jira uses a diff renderer to highlight changes made by a user with green and red background. This diff renderer cannot display changes in HTML-formatted text and forces plain-text format. There’s a workaround to get rid of HTML tags in these emails:

  1. Download changelog.vm and replace original changelog.vm under <Jira-install-directory>\atlassian-jira\WEB-INF\classes\templates\email\html\includes\fields\
  2. Download changelog-issue-description.vm and replace original changelog-issue-description.vm under <Jira-install-directory>\atlassian-jira\WEB-INF\classes\templates\email\html\includes
  3. Download set-issue-details-context.vm and replace original set-issue-details-context.vm under <Jira-install-directory>\atlassian-jira\WEB-INF\classes\templates\email\html\includes
  4. Download issuecommentedited.vm and replace original issuecommentedited.vm under <Jira-install-directory>\atlassian-jira\WEB-INF\classes\templates\email\html\
  5. Restart Jira to reload templates

Make sure that Jira has read access to these new files.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk