Forums

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

Need issue id everytime the issue is created in JIRA using webhooks.

Lavina
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!
April 7, 2019

Requirement:

whenever a new issue is created, i need to fetch the issue id, and do some processing with it. I  want to receive the data in JSON format. if i configure webhook  in jira i ll be able to get it. 

i have access to create webhooks.

I am new to web technology in Python. I know different peices, but dont know how to put them together. 

What shall i need to write in python?

How will my python program use the webhook service in JIRA, so that i can get the JSON.

My service will be hosted on a server, it will listen to everytime the issue is created. and will get the issue id and do the processing. 

i know webooks will return json, but where will i receive it. I am confused, how to get my requirement working. 

Some help with the code will be appreciated. 

1 answer

1 accepted

1 vote
Answer accepted
Nir Haimov
Community Champion
April 7, 2019

Hi,

You need to create rest endpoint with your Python.
In Jira Webhooks, put your rest endpoint URL, so once the webhook triggered it will be sent to your rest endpoint url, that triggers your rest method in Python.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events