SLA missing on new tickets despite matching the START condition and JQL goals
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
Find out why SLAs might be missing in some work items, even if they meet the SLA START condition and match the JQL in the SLA goals.
Solution
What can cause the SLA cycle to break?
This can happen when the STOP condition is met before the START cycle is completed.
Using an example, imagine your space has a Time to First Response (TFR) SLA configured where:
All goals that have a time target require the "Text Field" is not empty.
This SLA starts when the work item is created.
This SLA stops when an agent replies (adds a public comment) to the customer.
A work item is created where the Text Field is empty. It will fall under the 'All remaining work items' condition of the SLA, with no time target, so the ticket will not have a TFR SLA.
Then, these events happen in order:
An agent adds a public comment to the work item.
A value is set for the Text Field.
This sometimes breaks the SLA's cycle, as the STOP condition of the SLA (public comment added) was met before the START condition (work item where the text field is not empty).
Fix it by recalculating the SLA
Recalculating the inconsistent cycle should fix it. You can force a recalculation of an SLA following the steps in: Resolve Wrong or Missing SLAs in Jira Service Management Cloud.
After recalculating the inconsistent cycle with the procedure referenced above, check whether the affected SLA appears in the work item.
How do I prevent this?
Review how your start and stop conditions interact with the order in which agents work.
Avoid the "Issue Created" in START condition: If there is a risk the STOP condition matches as soon as the ticket is created, use a different START condition to the SLA.
Ensure the STOP condition is not met BEFORE the correct SLA is applied: Review the STOP conditions carefully. For instance, if there is a risk of public comments being added right after ticket creation, consider creating a workflow status that indicates a response has been given to the customer. Use this status as a trigger in the STOP condition instead.
How do I identify if this is the problem with my SLA?
If you access the API endpoint https://yoursite.atlassian.net/rest/servicedesk/1/servicedesk/[SPACEKEY]/sla/debug/issue/[TICKETKEY]/metric/[SLAKEY]/data, you should get a response for the affected SLA like:
{
"date": 1733303061863,
"dateString": "2024-12-04T09:04:21.863Z",
"types": [
"STOP"
]
}
]
},
"ongoingSLAData": null,
"completeSLAData": [],
(...)
"customFieldName": "Time To First Response",The SLA information has a STOP dateString defined, meaning the SLA cycle is complete, the completeSLAData is empty.
Other issues with SLA cycles
There are other reasons why an SLA may be missing or broken. The following pages might further help you:
We also have a public ticket for a known behavior that may affect your experience with SLAs:
JSDCLOUD-5171 - SLA is not started when starting and pausing/stopping the SLA at the same time
Was this helpful?