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.