How to get webhookId from webhook callback response

Pravin Bansal January 2, 2018

We have a requirement where we have multiple webhook created for different JQL's , while we receive the response to our callback URL we need to know from which webhook we are receiving this callback  (or the JQL) - this way we decides the logic in our application -- any clue is appreciated.

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2018

Hello,

Try to add your own parameter to webhook. It would look something like this:

http://example.com/rest/webhooks/webhook1?myparam=2

You would define a different myparam value for each webhook. In this case you would know which webhook was triggered.

Pravin Bansal January 3, 2018

this works , thanks for your reply.

Suggest an answer

Log in or Sign up to answer