Enable HTML tag usage in Jira server text fields

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および 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.

目的

To allow HTML tags in Jira issue for text fields.

ソリューション

  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:

最終更新日 2022 年 7 月 5 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.