Apps documentation
Actions for Jira Service Management
Actions for Jira Service Management
Documentation
FAQ
Release notes
Migration to Cloud
Integration
Last updated Jul 2, 2024

Automation rules

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

  1. Navigate to Projects at the top of the screen.
  2. Select which service project you want to configure.
  3. By using the service project sidebar, select Project settings.
Access automation rules with Jira Service Management automation plugin
Access automation rules with Jira Service Management automation plugin
  1. Access Legacy automation.
Legacy automation rules with Jira Service Management automation plugin
Legacy automation rules with Jira Service Management automation plugin
  1. Click Add rule.
Creating automation rules with Jira Service Management automation plugin
Creating automation rules with Jira Service Management automation plugin
  1. The New automation rule dialog box appears. Select Custom rule and click Next to confirm your choice.
Custom automation rules with Jira Service Management automation plugin
Custom automation rules with Jira Service Management automation plugin

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.

Tips for automation rules with Jira Service Management automation plugin
Tips for automation rules with Jira Service Management automation plugin

Configuring automation

Steps

  1. Give your automation rule a name.
Note

This step is required because your automation rule must have a name.

  1. Optionally, you can add a description of your rule.
  2. Configure your automation rule by defining ‘WHEN’, ‘IF’ and ‘THEN’.
  3. Click Save to store you configuration.
Save automation rules with Jira Service Management automation plugin
Save automation rules with Jira Service Management automation plugin
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.

    Jira Service Management automation rules in Actions
    Jira Service Management automation rules in Actions

Defining ‘WHEN’

  1. Click Add a trigger. The Edit WHEN dialog box will appear.
  2. Click Add trigger.
  3. Select Issue created from the list.
  4. Click Add.
    Creating When triggers to set up automation rule using Jira Service Management automation plugin
    Creating When triggers to set up automation rule using Jira Service Management automation plugin

Defining ‘IF’

  1. Click Any items. The Edit IF dialog box will appear.
  2. Click Add condition.
  3. Select Reporter Language from the list.
  4. Click Add.
  5. Choose the language, in our example: German.
  6. Click Confirm.
    Creating If condition to set up automation rule using Jira Service Management automation plugin
    Creating If condition to set up automation rule using Jira Service Management automation plugin
Note

You can create several conditions for a single rule by clicking the plus icon which appears below the ‘IF’ field.

Defining ‘THEN’

  1. Click Add an action. The Edit THEN dialog box will appear.
  2. Click Add action.
  3. Select Assign User to Issue from the list.
  4. Click Add.
  5. Select User Key.
  6. Click Confirm.
    Creating Then action to set up automation rule using Jira Service Management automation plugin
    Creating Then action to set up automation rule using Jira Service Management automation plugin

To add a next action:

  1. Click Add action.
  2. Select Add label from the list.
  3. Click Add.
  4. Type the desired text for a label.
    Note

    Remember that the text for a label cannot include spaces.

  5. Click Confirm.
    Creating Then action to set up automation rule using Jira Service Management automation plugin
    Creating Then action to set up automation rule using Jira Service Management automation plugin
  6. Click Save.
    Note

    Remember to check the Enable rule box so your automation is enabled and ready to work.

    Creating Then action to set up automation rule using Jira Service Management automation plugin
    Creating Then action to set up automation rule using Jira Service Management automation plugin

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.