Page tree
Skip to end of metadata
Go to start of metadata


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 :

  1. Add a JQL filter to an SLA definition
  2. Change a field (which is used in JQL of SLA definition) within the transition.
  3. Execute the workflow transition and see that SLA disappear from the issue.
  4. But SLA is become visible when

    1. the issue gets updated

    2. 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 disappear from the issue
  • Or an issue goes in the scope of JQL filter with workflow transition but SLA does not appear on the issue


The reason behind this problem is 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.

Solution 1: Asynchronous SLA Calculation (6.40.0+)

Since we can not change the way how JIRA works, we offer a limited effective solution for this problem, Asynchronous SLA Calculation method. You can activate asynchronous calculation for each SLA having this problem. TTS will evaluate those SLAs out of issue event cycle so that JQL conditions will give correct results.

Steps to activate Asynchronous Calculation
Please follow these steps
  1. Go to SLA Configuration page from TTS menu
  2. Click the edit icon next the SLA you have this problem
  3. Enable Asynchronous Calculation and save current configuration
Asynchronous SLAs will be evaluated with a small delay but don't worry it will take a minute, tops!

Solution 2: Release Re-index Queue Post Function (7.5.0+) 

Another effective solution is the Release Re-index Queue Post Function. You can add the post function to workflow transition where you update the custom field or issue field.

Steps to use Release Re-index Queue Post Function
Please follow these steps for each workflow transition where you update the field that you used in your JQL
  1. Browse workflow transition
  2. Change to Post Functions tab
  3. Add "Release Re-index Queue" post function
  4. Make sure the post function that you are using to update the custom field is above the "Re-index", "Release Re-index Queue" and "Fire Issue Event" post functions
If you are using Release Re-index Queue post function please disable asynchronous calculation from your SLAs.

This post function may slow down your transition. Please use with caution.