The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Trigger Remote Jenkins build on status transition

Ankush Das
May 15, 2023

Require some help to trigger remote Jenkins build job from Jira cloud. From transition post function of workflow tried to call Jenkins API(working , tested via Postman) using Script runner for cloud plugin but unfortunately it is not supporting the call to Jenkins API.

Any fix for the above or any alternative solution will be greatly appreciated.

 

Sample URL : http://localhost:2030/job/TestBatchScript/buildWithParameters?token=Testtt&BRANCH_NAME=sample1&COMMENTS=Test

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Chu Dam
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 Champions.
May 15, 2023

Hi @Ankush Das 

You should use Jenkins app and link your Jenkins with your Atlassian Cloud site properly... https://marketplace.atlassian.com/apps/1227791/jenkins-for-jira-official?tab=overview&hosting=cloud

There is an advanced configs and docs with the app: https://support.atlassian.com/jira-cloud-administration/docs/integrate-with-jenkins/

I hope this help. 
Dam.

Ankush Das
May 15, 2023

Thanks for the information , will check out the steps posted.