Hello,
I have a workflow in Jira Cloud with the following statuses:
Open --> In Progress --> Done --> Open
I want a webhook to be triggered when the issues transition from In Progress to Done (In Progress --> Done). I did the following:
- Created a Webhook for the "updated" issue event
- Added the following JQL: STATUS CHANGED FROM "In Progress" TO "Done"
- Saved the webhook
When testing the webhook, I get the following result:
- When the issue transitions from "In Progress" to "Done" the webhook is not triggered
- But, when transitioning from "Done" to "Open" it is triggered. In fact it is also triggered for any transition thereafter.
I understand why it is triggered for every transition thereafter, however I do not understand why it is NOT triggered when transition to "Done" in the first place.
It appears as if the JQL is executed before the status has changed in the database and therefore it does not take into account the new status but the previous status.
If the above is the case, then this is not documented behavior. Can you please help me?
Thanks