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.
Set up a preset automation rule
To set up an automation rule:
- In your service desk project settings, click Automation and select Add rule.
- Select a preset rule from the list (see the table below for the available options) and then select Next. The rule configuration screen appears.
- 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.
- Edit and update any fields that appear in red text in the rule's WHEN, IF, and THEN conditions.
- 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:
|
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 | Comment internally on an issue about a change of status for a linked issue |
Triage requests sent by email | Update 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:
- In your service desk project settings, click Automation and select Add rule.
- Select Custom rule from the list and then select Next. The rule configuration screen appears.
- Configure your rule by selecting and defining WHEN, IF, and THEN fields. See the table below for the available options.
- 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 |
|
|
Comment edited |
| |
Issue is created |
| |
Issue resolution is changed |
| |
Status changed |
| |
A linked issue is transitioned |
| |
Request participant added |
| |
Organization added to issue |
| |
Approval required |
| |
SLA time remaining Select the SLA and goal status that triggers the event |
|
Rule options
Choose Options in the rules configuration page to change the behavior of how a rule runs, as shown in the image below:
Run rule as: By default, rules run as the person who created the project. Alternatively, you can run rules as the person who triggers the rule. For example, if a rule responds to a customer, then you might want the comment to be from the agent who is working on the request, not from the person who created the project. In this case, you would want to set the Run rule as to User who triggered the rule. Make sure the person you choose has permission to complete all the actions taken by the rule.
Triggered by other rules: By default, rules can trigger other rules. In some cases, you might need to disable this to prevent two rules from triggering each other infinitely.
To change the default Run as user, go to Automation > Change default event user. Make sure the person you choose has permission to perform all the actions that you might try to automate in all your rules.
Disable an automation rule
To disable an automation rule:
- In your service desk project settings, click Automation.
- Select Edit next to the rule in your automation list. The rule configuration screen appears.
- Untick the Enable rule checkbox and click Save.
Disabled rules appear in your automation list with a DISABLED badge.