Automating your service desk

Create automation rules to perform actions in your service desk based on specific triggers and conditions. For example, you can set an automation rule that alerts an agent when a high-priority issue is created. Or, service desk can reopen an issue if your customer comments on it after its been resolved.

On this page:

Set up a preset automation rule

To set up an automation rule:

  1. In your service desk project settings, click Automation and select Add rule.
  2. Select a preset rule from the list (see the table below for the available options) and then select Next. The rule configuration screen appears.
  3. Edit the rule name and description as needed. The rule name appears on the main automation settings page, so changing the name helps you more easily reference what each rule does.
  4. Edit and update any fields that appear in red text in the rule's WHEN, IF, and THEN conditions.
  5. Select Save and you're done.

Your service desk project comes with preset rules that you can use to set up automation. Here are the preset rules that come out-of-the-box to help your team and your customers:

Rule template
What automation does
Transition on comment

Updates the status of an issue after someone comments to:

  • Waiting on Support when a customer comments
  • Waiting on Customer when your team comments
Reopen on customer comment Reopens a closed issue when a customer comments
Be aware of urgent issues Alerts a member of your team via an @mention when a customer submits an urgent request
Keep on top of SLAs Alerts your team lead via an @mention when a serious issue is about to breach one of your SLAs
Set customer expectations Lets your customers know when to expect a response from your team based on the priority of their ticket by adding a pre-populated comment to the issue
Update when a linked issue changes Comments internally about a change of status for a linked issue on the same JIRA site instance
Triage requests sent by email Updates issues received by email with the correct request type, based on keywords present in the request summary or description

Edit preset automation rules

If you want to edit a preset rule, select Edit next to the rule in your automation list to see how it's configured.

To edit a rule, select the WHEN, IF, or THEN fields to change your rule's trigger, conditions or resulting actions. Use Tips for customizing this rule for suggestions on what to enter in these fields.

If you make changes to the rule, be sure to click Save to confirm your edits.

Create a custom automation rule

To create a custom automation rule:

  1. In your service desk project settings, click Automation and select Add rule.
  2. Select Custom rule from the list and then select Next. The rule configuration screen appears.
  3. Configure your rule by selecting and defining WHEN, IF, and THEN fields. See the table below for the available options.
  4. Select Save and you're all set.

Here are the rules sets that are allowed in the automation engine:

WHEN IF (optional) THEN
Comment added
  • Issue matches a certain filter
  • Comment visibility is internal or external
  • User type is a customer or agent
  • Comment contains a key phrase
  • Comment is primary action and not the consequence of another action (for example, commenting as part of a workflow transition)
  • Transition issue to change its position in the workflow
  • Add comment, either internal or external
  • Alert user to prompt a specific user or users via an @mention
  • Edit request type to change the request type. Be sure your request types are the same issue type before applying this rule.
  • Edit issue to select and change a field in your issue, such as assignee or priority. This affects fields that may not appear in each issue type.
  • Auto-approve requests that meet certain conditions. Learn more
  • Webhook to send a POST request (see our tutorial)
  • Send email to create an email notification.
Comment edited
  • Issue matches a certain filter
  • Comment visibility is internal or external
  • User type is a customer or agent
  • Comment contains a key phrase
Issue is created
  • Issue matches a certain filter
  • User type is a customer or agent
Issue resolution is changed
  • Issue matches a certain filter
  • User type is a customer or agent
  • Resolution change is either set or cleared
Status changed
  • Issue matches a certain filter
  • User type is a customer or agent
  • Status change visible to customer
A linked issue (on the same JIRA site instance) is transitioned
  • Link type matches a certain type of link (for example, is related to or blocks)
  • Issue matches a certain filter
  • Linked issue matches  a certain filter
  • User type is a customer or agent
Participant added to issue
  • Issue matches a certain filter
  • User type is a customer or agent
Organization added to issue
  • Issue matches a certain filter
  • User type is a customer or agent
Approval required
  • Issue matches a certain filter
  • User type is a customer or agent
SLA time remaining
Select the SLA and goal status that triggers the event
  • Issue matches a certain filter

Disable an automation rule

To disable an automation rule:

  1. In your service desk project settings, click Automation.
  2. Select Edit next to the rule in your automation list. The rule configuration screen appears.
  3. Untick the Enable rule checkbox and click Save.

Disabled rules appear in your automation list with a DISABLED badge.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport