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
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":[]}}
@aas You would just need to add the attachment as part of a comment and that will fire off the event.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.