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

Sania Alex August 8, 2017

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

0 votes
D. U. December 13, 2017

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