Forums

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

Automation - trigger a job in Jenkins based on Jira activities

PJ Singh July 19, 2020

We configured Web-hooks to trigger a job in Jenkins but it is not working with JIRA Cloud. I understand that plugin only supports the integration between Jenkins and Jira Server, not Jira Cloud.

 

Is there a way to trigger a job in Jenkins based on Jira activities (e.g. changes such status, comments)?

1 answer

0 votes
Italo Qualisoni [e-Core]
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.
July 19, 2020

Hi @PJ Singh ,

 

You can trigger your Jenkins webhook using Automation for JIRA, this app is available by default in JIRA cloud and you can try it, see below an example:

webhookUntitled.png

PJ Singh August 12, 2020

We configured the webhook. We logged a ticket with Atlassian they provided the following guidance. They indicated that JIRA TRIGGER is NOT supported by Atlassian. 

Here is the documentation for every plugin we discussed at the meeting

 

Have you or anyone has been able to successfully trigger a job based on JIRA activity (e.g. Change of status, comments)? 

Italo Qualisoni [e-Core]
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 15, 2020

I'm not familiar with these apps you listed,  in my previous comment I sent you how to send an webhook using Automation for JIRA and you would need to know the Jenkins rest endpoint and create the request payload yo match what Jenkins is expecting to receive. 

I think you should also look for the app supported by Atlassian, if you find a solution for this issue, please share with the community.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events