How to trigger Automation for Jira based on SLA breaches
This page is about Time to SLA for Jira Data Center.
With Time to SLA, you can trigger Jira automation rules based on SLA breaches. Follow the steps below to configure an automation rule.
Prerequisites
Before you begin, ensure that:
You have Time to SLA installed and configured in your Jira instance.
You have Automation for Jira installed and are using the paid version (third-party integrations are not available in the Lite version).
You have the necessary Jira administrator or project administrator permissions to create automation rules.
Steps
Go to the Automation Rules page.
Click Create Rule.
Click SLA threshold breached (Time to SLA).
Select SLAs, Trigger type, Repeat interval(optional), Enable working calendar(optional).
SLAs - Add notifiers to the selected SLAs.
Trigger when SLA – Your options are:
Is breached: When the SLA is breached, the rule will be triggered.
Will be breached in: Define a duration and rule will be triggered when there is time left as much as specified duration to SLA breach.
Has been breached for: Define a duration and rule will be triggered after the SLA breach and that duration pass.
Has reached: When the specified percentage of SLA reached, the rule will be triggered.
Repeat every – When enabled, the trigger will be repeated at every given interval.
Enable working calendar – When enabled, the trigger will be based on working calendars.
For example, in a 9 AM-5 PM and Monday-Friday calendar, a trigger set for 1d before an SLA is breached at 12 PM on Monday will be triggered at 12 PM on the previous Friday.
Click Save.
Smart values
Parameter | Type | Description |
---|---|---|
| String | Name of the SLA |
| String | SLA value as a time string |
| String | Remaining time of the SLA as a time string |
| String | Breach time of the SLA as a time string |
| String | Elapsed time of the SLA as a time string |
| String | Paused time of the SLA as a time string |
| Date | Start time of the SLA |
| Date | End time of the SLA |
| Date | Deadline of the SLA |