Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78674

Resolution change is missing from Issue history if Resolution is set via the UI and a workflow at the same time

XMLWordPrintable

      Issue Summary

      When performing a Jira transition with post function, if the post function sets a field value to the same value as the transition UI, then no change history is recorded.

      Steps to Reproduce

      1. Create a new project using the process management template.
      2. Create a new issue within the project.
      3. Transition the issue through the workflow to the "Done" status.
      4. Set the resolution for the issue and verify that the resolution appears in the issue history.
      5. Edit the workflow and add a post function to the "Done" step to set the resolution.
      6. Transition the issue through the workflow to the "Done" status again.
      7. Set the resolution and check the issue history.

      Expected Results

      The issue history should correctly display the resolution change when the resolution is set during the workflow transition, regardless of whether it was set via a post function or manually

      Actual Results

      No issue history is shown for the field, only the Status

      Workaround

      • 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.
      • Remove the post function setting the field
      • Remove the field set from the transition screen

              jxu2@atlassian.com Sam Xu
              c8bcca445054 Benjamin Suess
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: