Custom fields with HTML or JavaScript shows as plain text after migration

Still need help?

The Atlassian Community is here for you.

Ask the community

Summary

The article below explains why Custom fields with HTML or JavaScript appear as plain text after migration to the Cloud

Overview

After migrating from the Server to the Cloud, custom fields containing embedded HTML or JavaScript code in their descriptions will display the code as plain text.

This is caused due to the functional difference between Jira server and Jira cloud. Unlike the Jira Server, the Jira Cloud product prohibits embedding HTML or JavaScript code due to potential security risks such as Cross-site scripting (XSS) and other vulnerabilities.

Solution

The recommendation is to either adjust or remove these fields in the Jira Server before migrating.

These custom fields in the Jira Server can be identified using the queries mentioned in the document How to identify fields with custom JavaScript in their description.

And, as an alternative, Wiki Markup Formatting can be used to format the custom field description.

Another option is to use the automation rule to find and replace specific strings (such as HTML tags) in specific fields. As with all Automation rules, be aware of your Automation service limits.

Last modified on Apr 19, 2024

Was this helpful?

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