Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Issue Id is not present in the attachment payload coming from Jira through Webhook into ServiceNow

RakaBhai1
Tera Contributor

Hello,

I'm working on a ServiceNow-Jira integration and the next step is to copy an Jira attachment in ServiceNow for a incident that already exists.

I'm using Jira webhooks events to trigger subflows in Flow Designer. I checked some posts in the forums and I was thinking using the wenhook event 'attachment_created'. However, after doing some tests what I'm finding odd is that this webhook event doesn't return any information about the Jira issue the attachment was added to. So I don't have any ways to find the corresponding incident in ServiceNow.

I also found that at the same time Jira also triggers the webhook event 'issue_updated' which one includes the information about the Jira issue and attachments.

Anyone knows how to do this, if I only want to use the webhook event 'attachment_created'?

Thank you

1 ACCEPTED SOLUTION

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB0861023 for more information.

View solution in original post

5 REPLIES 5

Hello Petr,

Could you expand on this please?  I tried adding /{issue.id} at the end of the default callback URL but it breaks the behavior for me.  So it I only use the default callback generated by SNow, the webhook works just fine, but I don't have the issue information. If I try to add that variable at the end of the callback URL in Jira, my subflow does not run anymore.