Enable HTML tag usage in Jira server text fields
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Atlassian Support does not provide any support for the steps described on this page. Please be aware that this material is provided for your information only and that you use it at your own risk.
HTML is disabled by default because it is a potential security risk, as it can contain arbitrary HTML which could potentially make your JIRA system vulnerable to Cross-site scripting (XSS) attacks.
Purpose
To allow HTML tags in Jira issue for text fields.
Solution
- Go to the page ⚙ > Manage apps > Manage apps
- Select System in the drop down menu
- Browse to the Wiki Renderer Macros Plugin app and click on the item to open it
- Click on the plus sign "+" to open the list of modules from this app
- Hover over the html module and click the enable button that will appear:
HTML can now be added to text fields (or comments) using the tag {html}
- Let's take Jira comments as an example. Here is what needs to be done to add HTML code:
- Open the comment field in Text view, add an opening tag {html}, add the HTML code there, and then add a closing tag {html}
- After the comment is added, the HTML code will be rendered:
- Open the comment field in Text view, add an opening tag {html}, add the HTML code there, and then add a closing tag {html}