Skip to main content

Workflow extensions

Script Master adds three kinds of rule to Jira workflow transitions: post functions, validators and conditions. You add them to a transition in Jira's workflow editor, and Script Master lists every workflow that uses them.

Applies to: Script Master for Jira Β· Cloud

Which rule to use​

RuleJira nameRunsWritten inEffect
Post functionScripted Post-functionAfter the work item movesServer-side JavaScript, run by the Companion AppChanges data, for example adds a comment or calls another service
ValidatorScripted ValidatorWhen someone confirms the transition, after the transition screenA Jira expression, or rules you build without codeBlocks the transition, with your own message if you want
ConditionScripted ConditionBefore Jira shows the transitionA Jira expression, or rules you build without codeHides the transition
  • To stop a move and tell the person why, use a validator. A condition can't show a message.
  • To keep people from seeing a transition at all, use a condition.
  • To do something after the move, use a post function.

Validators and conditions run inside Jira, so they work without the Companion App. Post functions need it. See Set up the Companion App.

Where the rules live​

A rule is stored with the transition in Jira, not in Script Master. You add, edit and remove it in Jira's workflow editor, and the change takes effect when you select Update workflow. Script Master records each save in the rule's version history.

Pages in this section​

Find and manage rules​

  • The Workflows tab: every workflow with a scripted rule, and how often the rules run or fail.

Validators and conditions​

Post functions​