Click theCogin the top ribbon to open theAdministrationmenu and selectAdd-ons.
SelectWorkflowsfrom the side menu underScriptRunner(or click theWorkflowstab from ScriptRunner). This tab displays all available ScriptRunner conditions, validators, and post functions. To add a new workflow function follow the instructions inNavigating to Workflow Functions.
Navigating to Workflow Functions
Click theCogin the top ribbon to open theAdministrationmenu and selectIssues.
SelectWorkflowsfrom the side menu underWorkflows.
ClickEditon the workflow you wish to add or edit a workflow function.
In theDiagramview, select a transition. A list of workflow functions is displayed. Click the function type you wish to edit/add, for example,Condition.
TheTransitionscreen shows a list of all conditions set up for this transition. ClickAdd Condition.
Under Add Condition to Transition a list of available conditions is shown. Select the ScriptRunner option from the menu and click Add.
ScriptRunner functions are denoted by[ScriptRunner].
All ScriptRunner condition workflow functions are displayed. Select a function to configure.