How can I post to a locally hosted API endpoint when there is a JIRA webhook trigger? Edited

I am trying to setup a JIRA webhook with my local application client. I am able to setup the webhook using RequestBin URL and see the JSON response too. I need a way to post the JSON body to my local application api endpoint and debug through the code on every event trigger. I tried using my localhost URL but didnt see the event trigger hitting the code. I have written a HTTPPost method in my code to collect the webhook response.

{
"name": "JIRA webhook via rest",
"url": "https://requestb.in/1fblw5j1",
"events": [
"jira:issue_created",
"jira:issue_updated"
],
"jqlFilter": "Project = JRA AND resolution = Fixed",
"excludeIssueDetails" : false
}

I am confused about what URL would the webhook be needing to be able to talk to my client application.

 

1 answer

Hi Sania.

Did you made any steps forward? I have the same problem:
I want to notify a SpringBoot applciation aboutn any changes/events in JIRA (issues) and I've setup the webhook accordingly to the URL of my springBoot app, both, JIRA and the app on localhost but nothing is ever sent to my app.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

243 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you