Skip to main content

Import and export UI modifications

Export a UI modification as JSON to copy it to another site or keep a copy, and import it on the other site.

Applies to: Script Master for Jira Β· Cloud

Before you begin​

  • Jira permission: the Administer Jira global permission on both sites.
  • App permission: a valid Script Master license on the site you import into.

The export holds the name, description, forms, rules or script, and "scriptFieldIds". It leaves out spaces, work types, and for Service portal the portal and request types. Their IDs differ between sites.

Export a UI modification​

  1. In the UI Modifications list, open Actions on the row and select Export. In the editor, select More actions > Export. The Export UI modification dialog shows the JSON.
  2. Copy the JSON. Keep it as a file if you want a backup.

Import a UI modification​

  1. On the other site, open the menu next to Create UI modification and select Import. The Import UI modification dialog opens.

    On a site with no UI modifications yet, select Import on the empty tab.

  2. Paste the exported JSON and select Import. The UI modification opens in the editor, switched off. If the JSON isn't a valid export, the dialog says why and stays open.

  3. In Where it runs, pick the spaces and work types. For Service portal, also pick the portal and request types.

  4. Check every field in the rules or script. The import keeps field IDs and option values as they were. Custom field IDs, such as customfield_10050, often differ between sites, so you may need to pick the fields again.

  5. Turn on Enable, then select Save.

Result: the UI modification runs on the new site, on the forms and spaces you picked.

An export with both rules and a script​

One UI modification can't hold both, so the import turns such an export into two. You see this with JSON edited by hand, or with an export made before rules and scripts were split.

Script Master saves both straight away, switched off. The rules keep the original name, and the script gets (script) added to it. Open each one, pick where it runs, and switch it on.