Problem:
I've set up a Jira Webhook under System → Webhooks, configured to trigger on "Attachment created" and "Attachment deleted" events.
Issue:
When I upload multiple attachments to a Jira issue at once (e.g., selecting 3 files in the upload dialog), the Webhook fires, but the payload only includes data for one of the attachments—typically the first one.
Expected:
I expected the Webhook to either:
Trigger once per attachment with the corresponding data, or
Include all newly added attachments in the payload.
Question:
Why does the Jira Webhook only send data for a single attachment during a multi-file upload, and what’s the recommended approach to retrieve the full list of uploaded attachments in this scenario?
Any best practices or known workarounds (e.g., polling the issue or waiting for subsequent events) would be appreciated.
Hi @Assad Rajab
If you’re referring to this request: GET attachment content by ID,
it’s expected that only a single attachment is accessed at a time, since each attachment has its own unique ID.
To retrieve the attachment IDs, you can use this endpoint: GET issue by Key
and iterate over the attachment field in the response to collect the IDs.
No, That is not what i am referring to.
I have a Webhook activated (System->Webhooks) that triggers on "Attachment: created, deleted"
On Attachment "created" it sends the data, but only of the first selected/uploaded attachment (on multiple selected attachments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.