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

Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 17, 2022

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

0 votes
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2022

Some one please reply on this.... 

0 votes
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2022

Hi Team,

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

Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2022

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

 

Thanks in advance :) 

Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2022

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