Forums

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

Automation rule :Trigger a jenkins build when Jira FORMS ARE attached

Amjad Syed
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!
December 21, 2023

Hello

 

I am trying to  integrate JIRA service desk (JSD) ckoud with jenkins.

 

I am trying to write an automation rule that will trigger  a build on  our on premise jenkins  node when a customer submits a JIRA Form via customer portal .

 

I dont see any jenkins build int he automation rule action. 

Has any one tried this or is it not possible on cloud instance ?

 

 

2 answers

0 votes
Mark Rekveld - Marvelution
Community Champion
January 9, 2024

Hi @Amjad Syed 

Triggering builds from Jira cloud is limited, as far as I'm aware the only app that support native triggering of builds is the Jenkins Integration for Jira app (disclaimer; I'm the developer of the app)

The app provides support for automated triggering of builds using workflow post functions and manual triggering through issue actions.

You could opt to look into the app to add the workflow post function to the creation transition when the form is submitted triggering the create transition.

Cheers,
Mark

0 votes
Bill Sheboy
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.
December 21, 2023

Hi @Amjad Syed -- Welcome to the Atlassian Community!

First thing, I have not tried this with Jenkins, and so I am making a suggestion based on what I know of rule actions.

You could try using the Send Web Request action to call the Jenkins REST API functions to trigger the build.  Please look here to learn about calling a REST API function from a rule:

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer