Enable HTML tag usage in Jira server text fields

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. 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.

Environment

Jira Data Center

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 Feb 27, 2025

Was this helpful?

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