Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue updated event doesn't fire when attacments added

aas
Contributor
January 19, 2022 edited

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 Champion
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
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events