Skip to main content

Start from a template

Start a UI modification from a ready-made template, then adapt it to your site. Six templates cover common form changes; five use rules and one is a short script you can read before you write your own.

Applies to: Script Master for Jira Β· Cloud

Before you begin​

  • Jira permission: the Administer Jira global permission.
  • App permission: a valid Script Master license.

Create from a template​

  1. In Script Master, select the UI Modifications tab.

  2. Select the arrow next to Create UI modification (More ways to create) and select From a template. The Start from a template dialog opens.

    On a site with no UI modifications yet, the tab shows four common tasks instead. Select one to open its template.

    The Start from a template dialog with six template cards

  3. Select a template. The editor opens with it, switched off.

  4. In Where it runs, pick the spaces and work types. A template has none picked, so it can't change a live form until you choose them and switch it on.

  5. Check the rules, or the script, and pick any fields the template leaves empty.

  6. Turn on Enable, then select Save.

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

The templates​

TemplateWhat it doesForms
Require details for urgent workWhen Priority is Highest, shows and requires Due date, and requires Description.Create, Transition
Declutter the Create screenHides Labels, Components and Fix versions.Create
Options that follow another fieldOffers only the options of one select that fit the value of another. You pick both fields and the options.Create, Portal
Lock fields after triageMakes Priority and Components read-only.Transition
Guide the summaryAdds hints to Summary and Description.Create
Assignee from the component leadA short script that sets Assignee to the lead of the picked component.Create

The four tasks on the empty tab open these templates:

TaskTemplate
Require a field when another has a valueRequire details for urgent work
Hide fields people rarely fillDeclutter the Create screen
Lock fields after triageLock fields after triage
Guide people with hintsGuide the summary

Add a template's rules to your UI modification​

In the editor of a rules UI modification, select Add from a template above the rules. Pick a template in the Add rules from a template dialog. Script Master adds its rules after yours and leaves your scope and settings as they are. This dialog offers rule templates only, so the script template isn't in it.