This section provides instructions on how to set up automation rules.
Add your own ‘WHEN’ triggers, ‘IF’ conditions and ‘THEN’ actions to set up automation rules.
Accessing configuration
Steps
Navigate to Projects at the top of the screen.
Select which service project you want to configure.
By using the service project sidebar, select Project settings.
Access Legacy automation.
Click Add rule.
The New automation rule dialog box appears. Select Custom rule and click Next to confirm your choice.
Result
You’ll be redirected to the view with the automation rule customization.
Info
Click Tips for customizing this rule to see how you can create your own automation.
Configuring automation
Steps
Give your automation rule a name.
Note
This step is required because your automation rule must have a name.
Optionally, you can add a description of your rule.
Configure your automation rule by defining ‘WHEN’, ‘IF’ and ‘THEN’.
Click Save to store you configuration.
Note
Below you can see available triggers, items and actions. The formulas in bold text are provided by Actions for Jira Service Management.
Set priority to Issue is now a deprecated feature and will not be supported since it has become native for Jira Service Management.
Add request participants action is supported up to version Actions for JSM 1.12.4.
Defining ‘WHEN’
Click Add a trigger. The Edit WHEN dialog box will appear.
Click Add trigger.
Select Issue created from the list.
Click Add.
Defining ‘IF’
Click Any items. The Edit IF dialog box will appear.
Click Add condition.
Select Reporter Language from the list.
Click Add.
Choose the language, in our example: German.
Click Confirm.
Note
You can create several conditions for a single rule by clicking the plus icon which appears below the ‘IF’ field.
Defining ‘THEN’
Click Add an action. The Edit THEN dialog box will appear.
Click Add action.
Select Assign User to Issue from the list.
Click Add.
Select User Key.
Click Confirm.
To add a next action:
Click Add action.
Select Add label from the list.
Click Add.
Type the desired text for a label.
Note
Remember that the text for a label cannot include spaces.
Click Confirm.
Click Save.
Note
Remember to check the Enable rule box so your automation is enabled and ready to work.
Result
The configuration of the automation rule is added and ready to use.
Note
You can edit or delete your settings by clicking the selected fields (‘WHEN’, ‘IF’ or ‘THEN’).
Need help?
If you can’t find the answer you need in our documentation, raise a support request.
Include as much information as possible to help our support team resolve your issue faster.