Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,886
Community Members
 
Community Events
168
Community Groups

Jenkins jobs triggering from JIRA for any update on Jira ticket fields.

Edited

Hi Team,

We have JIRA status change to trigger JENKINS job but for any JIRA field its triggering. We have to restrict to only JIRA workflow status change only. We are using JIRA "web hook" created to trigger this Jenkins job. I have also configured JQL to "Status change" but still its triggering for any all other JIRA fields value changes.

 

Please see the below screen shots, we have "Environment_Name" and "Deployment_Type" as Drop down fields, so when we chnage any values, the Jenkins job triggering which we do not need this behavior.

JIRA trigger - status change.PNG 

 

JIRA is triggering the Jenkins job on "Drop down' value changes on JIRA ticket. My requirement is to trigge ronly on "JIRA work flow status changed".

2 answers

Some one please reply on this.... 

Hi Team,

Some one please help me out on this issue asap, its on very high priority.

Please respond on my query asap, it svery critical for our Project to proceed further. 

 

Thanks in advance :) 

After a lot of hit and trials, finally JQL is the trick for it. I edited the WebHook as follows:

"status changed" 

But still it still it is triggering the Jenkins job on "Drop down' value changes on JIRA ticket. My requirement is to trigge ronly on "JIRA work flow status changed".

Suggest an answer

Log in or Sign up to answer