Forums

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

Can I get jira issue ID using post-function python script

Ashwanipal
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!
October 28, 2018

I want to get Jira issue ID in Jenkins using Jira post-function build trigger(python script)

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 29, 2018

Hi Ashwanipal,

In Jira you can trigger a webhook on a workflow post-function. So if your Jira issue transitions between two workflow statuses (say from Open to In Progress), you can have it trigger a build in Jenkins.

We have some great documentation about creating webhooks and triggering them during a workflow post-function. There's also a plugin you can install in Jenkins that should help make the configuration easier on the Jenkins side.

I'd also be doing you a disservice to not also point you at our own CI product that integrates super well with Jira. It's called Bamboo and there's a ton of other nice features in addition to the seamless Jira integration. Check it out and see if it would be useful for you!

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer