Forums

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

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
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events