SLAs with additional JQL in their configuration disappear when any field on those JQLs changed in a workflow transition. However this problem can not be observed when those fields changed in JIRA interface (eg. using issue view).
Steps To Reproduce :
- Add a JQL filter to an SLA definition
- Add a field update POST function to any workflow transition. This field should be used in JQL filter in SLA.
- Execute the workflow transition and see that SLA disappear from the issue.
But SLA is become visible when
the issue gets updated
SLA regeneration is execute
This problem could be observed within two different scenarios
- An issue goes out of the scope of JQL filter with workflow transition but SLA does not removed from issue
- Or an issue goes in the scope of JQL filter with workflow transition but SLA does not appear on the issue
This is happening because of the technical limitations within JIRA plugin framework. TTS tries to evaluate JQL in SLA definition when issue is updated but JIRA gives wrong results from JQL because new values are not indexed yet.
Since we can not alter the inner working of JIRA we offer a limited yet effective solution for this problem, Asynchronous SLA Calculation method. You can activate asynchronous calculation for any SLA having this problem. TTS will evaluate those SLAs out of issue event cycle so that JQL conditions will give correct results.