Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-11847

The SLA incorrectly unpauses when it is configured with 2 pause conditions and after an SLA reconstruction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.13.25, 4.20.12, 5.1.1, 5.2.0
    • 4.0.0, 4.13.0, 4.20.1, 4.22.4
    • SLA
    • None

      Issue Summary

      The SLA incorrectly unpauses when it is configured with 2 pause conditions, and then an issue changes from verifying 2 pause conditions to only 1 pause condition.

      Environment

      Bug replicable on any JSM 4.x version.

      Please note that the same behavior is replicable on JSM 5.0.0, but because the steps to replicate it are slightly different, a separate bug was raised: https://jira.atlassian.com/browse/JSDSERVER-11846

      Steps to replicate

      • Install Jira Service Management (JSM) on any 4.x version
      • Create a new JSM project
      • Create a new SLA with:
        • "issue created" as the start condition
        • the 2 pause conditions listed below:
          • Status: Waiting for customer
          • Assignee: Set
        • any stop condition
      • Create a new issue in the JSM project
        • Verify that the SLA is ticking as expected
      • Transition it to "Waiting for customer"
        • Verify that the SLA is paused as expected
      • Set the assignee field to any user
        • Verify that the SLA is still paused as expected
      • Clear the assignee field
        • Verify that the SLA is still paused as expected (The SLA should still be paused due to the condition "Status: Waiting for customer")
      • Make any update to the start, pause or stop condition of the SLA and save the changes. The SLA will be automatically recalculated for all non resolved JSM issues
      • Open the Jira issue and check the state of the SLA

      Expected behavior

      The SLA should still be paused due to the condition "Status: Waiting for customer"

      Actual behavior

      The SLA starts ticking again

      Notes

      The bug can also be replicated without updating the SLA configuration, but by forcing the SLA reconstruction using the SLA API reconstruction call from this KB article.

      Workaround

      No known workaround at the moment.

      No workaround known so far.

      Even the SLA reconstruction API call from this KB article won't fix the SLA.

        1. BUG_1.png
          86 kB
          Julien Rey
        2. BUG_2.png
          182 kB
          Julien Rey
        3. BUG_3.png
          198 kB
          Julien Rey
        4. BUG_4.png
          204 kB
          Julien Rey
        5. BUG_5.png
          213 kB
          Julien Rey
        6. BUG_6.png
          90 kB
          Julien Rey
        7. BUG_7.png
          215 kB
          Julien Rey

              jxu2@atlassian.com Sam Xu
              jrey Julien Rey (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: