Forums

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

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

Sania Alex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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.
Contributor
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
TAGS
AUG Leaders

Atlassian Community Events