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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,815 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot