How to trigger Jira Automation using a Time to SLA notifier in Cloud
Use case
When an SLA reaches a certain state, a Jira automation rule needs to be triggered.
Solution
You can achieve this by using Time to SLA notifications together with Jira automation. Depending on your needs, you can either:
Use Jira automation directly, or
Use an incoming webhook to connect Time to SLA with Jira automation using the Slack notifier.
In this guide, we’ll focus on using an incoming webhook. Follow these steps:
First, create a Jira automation rule.
Go to Jira Settings > System > Global Automation.
Click Create rule.
Choose Incoming webhook as the trigger.
After saving your rule to finish configuring the webhook, your webhook URL will be created. Copy the Webhook URL provided, which will be used in the Time to SLA app.
Then, configure the SLA notifier in Time to SLA.
Go to Time to SLA app > SLAs.
Open the SLA in question, and click the Notifiers button.
In the notification configuration, paste the Webhook URL you copied from Jira automation into the Slack webhook URL field.
Save your changes.
When the SLA reaches the defined state, Time to SLA will send a notification to the webhook. This will trigger your Jira automation rule, allowing you to carry out the action you configured (for example, add a comment, update a field, or create a new issue).