SLA is not stopping on issue transition

Still need help?

The Atlassian Community is here for you.

Ask the community

This article is about Jira Service Management Server.

Symptoms

An SLA was configured to stop when a ticket enters a specific status. However, the SLA does not stop as expected when the ticket enters this status and keep ticking.

Diagnosis

  • Checking the SLA configuration, we can see that the SLA is configured to stop when entering a specific status (for example, Status "pending" in the screenshot below)

  • Looking into the post-functions associated to the transition which links to this status, we can see that no event is fired for this transition:

Cause

When an SLA is configured to start/pause/stop when a ticket enters a specific transition, the SLA relies on events triggered during this transition to detect that the transition happened. If no event is fired during the transition, then the SLA will miss the transition and won't stop as expected.

Note that when using Jira out-of-the-box with no 3rd party add-on, any transition comes by default with a post-function that fires an event. It is also not possible to delete this post-function. However, when using the 3rd party add-on Admin Toolbox for Jira, it becomes possible to delete such post-function, causing the SLA not to stop when expected.

This is what a correct transition looks by default (note the post-function which is firing an event):

Workaround

Add a post-function to the transition that fires an event.


Last modified on Mar 17, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.