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

Asynch webhook executing before workflow transition finishes and commits changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.3.12, 10.7.4, 11.0.0
    • 10.3.0, 10.3.11, 10.7.0
    • Webhooks
    • None

      Issue Summary

      When using workflow post functions to make changes to issues during a workflow transition, this can cause webhooks to fire and execute before the workflow changes are finished and fully committed.

      This can result in the database containing some information, but causes the cache to not accurately reflect this.

      Steps to Reproduce

      • create workflow with the post function creating issue with label in question.
      • setup a webhook triggered on issue creation.
      • transition the issue to trigger the process.
      • issue misses label

      Expected Results

      Changes to accurately reflected when done through workflows once this has finished.

      Actual Results

      Workflow changes are saved to the database, but not accurately reflected in the cache.

      Workaround

      If possible use a different method for making changes, such as Automation for Jira.

      Or if not required, disabling webhooks can resolve this.

              c05631dc8c5f Tomasz Ziółkowski
              7550ef5838c5 Tom Offin (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: