Disable HTML Escaping message appears randomly in JIRA pages

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After updating JIRA to version 5.1.x, a "#disable_html_escaping()" message appears in random JIRA pages and fields, such as Assignee, Reporter or at the bottom of every page. See the examples:

 

Cause

This problem is caused due to customization in the velocity.properties file, for example, to use custom velocity templates. In the latest JIRA releases the velocity.properties file has changed in comparison with older ones. Hence, when bringing over the configuration from the older version to the new install JIRA breaks due to the difference between the versions.

Resolution

In order to fix this issue, please follow the steps below:

  1. Shutdown JIRA;
  2. Replace the velocity.properties file inside the $JIRA-INSTALL/atlassian-jira/WEB-INF/classes/ directory with the original file. (for example, this one for JIRA 5.1.1).
    (info) If you are running a different version of JIRA you will need to manually extract this file from a newly downloaded installation ZIP.

  3. Restart JIRA.

If needed, it is still possible to customize the file, just be sure to customize the one bundled with the application.

Last modified on Nov 1, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.