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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

232 views 3 0
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