Issue updated event doesn't fire when attacments added

aas January 19, 2022

I have custom mail handler which creates Jira issue and then makes an attachment from message and add it to that issue 

attachmentManager.createAttachment(File, String, String, User, Issue);


It works I have new issue with attachment.
Then I try to make webhook with Issue Related Events 
image.png
But webhooks works only on issue created and sends json with empty attachments
{"webhookevent":"jira:issue_created" "id":"123","key":"ABC", "fields":{"project"{"id", "key", "name"}, "attachment":[]}}

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 3, 2022

@aas You would just need to add the attachment as part of a comment and that will fire off the event.

Suggest an answer

Log in or Sign up to answer