I have created 2 Automation rules in JSM. The first rule triggers when SLA about to be breached in the next 15 minutes. The second rule triggers when the SLA has been breached.
Both of these rules will comment on the request of the warnings.
I have encountered errors where the first rule will trigger at the wrong time such as triggering 2 minutes after the ticket has been created. (image attached). Audit logs show no errors or conflicts and the SLA is set for 24/7 so there is no conflict with business hours.
Hello @Hiroshi Nakasone,
The issue you’re experiencing may be due to how Jira's automation rules interact with SLAs, especially when multiple triggers are close in timing.
In similar cases, automation triggers can get confused if:
To address this, you could:
Also, you may try to use SLA Time and Report for Jira, which my team developed. This add-on can provide a more reliable solution for tracking SLAs. It includes detailed SLA tracking, breach alerts, and notifications without the need for complex automation setups.
Jira has certain automation limitations, so you might consider using our add-on to overcome these restrictions. This add-on offers flexible notification settings to inform your team about SLA statuses. You can configure notifications to be sent at specific times before an SLA breach. For example, if you have an 8-hour SLA target and want to receive a notification 2 hours before the deadline, you can set a notification to be sent at the 6-hour mark. This ensures timely reminders and helps prevent SLA breaches.
You can set up actions for breached SLAs, such as:
Let me know if this helps!
Welcome to Atlassian Community!
What goals do you have in your SLA? Without knowing what your SLA looks like it is hard to answer why the automations are triggering...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mikael Sandberg
We have set our SLA goals based on the Priority field. We have 4 priority levels (critical, urgent, moderate, and low) and each have their corresponding times (30m, 1hr, 8hr, 24hr)The timer starts when the ticket is created. The only way to stop the SLA from counting down is assigning it to an agent or from a comment from an Agent. We have checked that the automation from Jira comment does not stop the SLA which is exactly how we wanted it to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So I would start by looking at the actual SLA when you create a new request, does it get the right SLA goal? The next thing I would look at is the SLA when the automation is triggered, you can do that by using a web request in the automation to get the request with SLA information by using the Get sla information endpoint to get more information about it like elapsed time and remaining time and go from there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.