SLA does not stop if the "Resolution" has been set twice within a workflow transition

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 10.3.5, 10.5.1, 10.6.0
    • Affects Version/s: 5.4.29, 5.12.1
    • Component/s: SLA
    • 2
    • Severity 3 - Minor
    • 40

      Issue Summary

      SLA does not stop if the "Resolution" has been twice in the same workflow transition.
      For example, setting a "Resolution" field through workflow transition post function, whilst closing the issue through REST endpoint and setting the "Resolution" value within.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Modify used workflow and add a post function to set Resolution field (e.g. to "Done"). Publish the workflow
      2. Create a SLA that has Stop condition "Entered Status: Done"
      3. Create a JSM issue that has the SLA from step 2 applied, and running once the issue is created
      4. Close a request through REST endpoint for issue transition. Make sure to include "Resolution" value "Done" in the REST request body.

      Expected Results

      The SLA stops, regardless if the issue has been closed through REST request or through UI.

      Actual Results

      The SLA keeps running once the issue has been closed through REST endpoint.

      Workaround

      Workaround 1

      One needs to make sure that the "Resolution" value is set only once:

      • Through Workflow screen pop-up,
      • Through Workflow post-function,
      • or through REST request.
      Workaround 2

      Move the post function step to after the issue history event, then the problem can be avoided as JSM will see the original history item.

            Assignee:
            Benjamin Suess
            Reporter:
            Marko Filipan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: