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.

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

  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.