Enable HTML tag usage in Jira server text fields

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only. This article only applies to Atlassian products on the server and data center platforms.



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

  1. Go to the page ⚙ > Manage apps > Manage apps
  2. Select System in the drop down menu
  3. Browse to the Wiki Renderer Macros Plugin app and click on the item to open it
  4. Click on the plus sign "+" to open the list of modules from this app
  5. Hover over the html module and click the enable button that will appear:

  6. HTML can now be added to text fields (or comments) using the tag {html}

  7. Let's take Jira comments as an example. Here is what needs to be done to add HTML code:
    1. Open the comment field in Text view, add an opening tag {html}, add the HTML code there, and then add a closing tag {html}
    2. After the comment is added, the HTML code will be rendered:

Last modified on Jul 5, 2022

Was this helpful?

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