Issue Summary
Webhooks with JQL filter "Status changed" do not retrieve recently updated information and do not send the webhook payload. So, if the issue is created, the first transition is not captured to send webhooks.
This is reproducible on Data Center: yes
Steps to Reproduce
- Setup a webhook (Admin > System > Webhook) with JQL filter "status changed" and Event Issue updated.
- Open a new issue and transition to any status
Expected Results
A webhook payload is being sent.
Actual Results
No webhook is sent. Only in second or later transitions, they are.
Workaround
Currently, there is no known workaround for this behavior using native webhooks. A workaround will be added here when available.
If considering other apps, instead of using Jira native webhook, please setup an A4J rule with the trigger "Issue transitioned", then "Re-fetch issue data", and "Send web request" (the webhook send) - added a print with a dummy example.