View Available ScriptRunner Workflow Functions
Click the Cog in the top ribbon to open the Administration menu and select Add-ons.
Select Workflows from the side menu under ScriptRunner (or click the Workflows tab from ScriptRunner). This tab displays all available ScriptRunner conditions, validators, and post functions. To add a new workflow function follow the instructions in Navigating to Workflow Functions.
Navigating to Workflow Functions
Click the Cog in the top ribbon to open the Administration menu and select Issues.
Select Workflows from the side menu under Workflows.
Click Edit on the workflow you wish to add or edit a workflow function.
In the Diagram view, select a transition. A list of workflow functions is displayed. Click the function type you wish to edit/add, for example, Condition.
The Transition screen shows a list of all conditions set up for this transition. Click Add 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.