Jira Cloud Webhook Integration with On-prem Jenkins

bairavasurya September 21, 2023

Hi Team,

In the existing Jira server we have integrated Jenkins with Jira webhook and which is working fine as both are in internal network Now as we are planning to migrate our Jira server to SAAS cloud we need your assistance to understand how we can integrate Our Jenkins internal server with Jira cloud webhook. can you please share any documents or reference links 

2 answers

1 vote
Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 21, 2023

Hi,

What is it that you are currently using webhooks for? Are the webhooks on the side of Jira or Jenkins or both?

Also, the SAAS you are moving your Jira Server instance to, is this the Atlassian Jira Cloud offering or a different offering?

Move details will help advice you better.

If you are looking to get insight in Jira, what build is related to what issue, and/or automations to perform actions in Jira based on Jenkins events then you may want to take a look at the Jenkins Integration for Jira app (Disclaimer, I'm the partner providing the app).

Atlassian also provides there implementation for Jira Cloud

Cheers,
Mark

bairavasurya September 22, 2023

Hi Mark,

Thanks for the response.

In the existing case we are using webhooks in the Jira onprem-server application to trigger the Jenkins build based on issue status change . In jenkins we are using Jira trigger plugin to add condition in the job config so over all our case is to trigger Jenkins build based on the issue status change in Jira SAAS atlassian cloud offering. Please let me know is there any other better way to skip the webhooks or how to establish Jenkins connectivity from Jira SAAS .

Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 22, 2023

Hi,

Sure thing.

Triggering a build from Jira is a feature that comes with my Jenkins Integration for Jira  both for on-prem and cloud Jira offerings.

It supports manual triggering through an Issue Action, and a Workflow Post Function.

When a trigger is send to Jenkins, configured Jira issue field values will also be passed to Jenkins to be mapped to build parameters. Build parameters will need to name match issue field names, but there is an enhancement request open to improve on this.

If you decide to give it a spin we can always connect to improve the features around triggering a build.

Cheers,
Mark

bairavasurya September 22, 2023

Hi,

so in your case how does JIRA SAAS will interact with our jenkins internal server because we cant expose to internet. 

Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 22, 2023

Hi,

You are in luck, I just released a new 'Accesseble Through Tunneling' feature in partnership with ngrok.

When you configure a Jenkins site in the Jira app, you can specify the 'Accesseble Through Tunneling' connection method. This will cause the Jira app to setup a secure tunnel that the Jenkins plugin will connect to once the Jira site is registered with the Jenkins site. Check the docs here on the different connection methods the JIra app supports and how you can configure those.

bairavasurya September 22, 2023

hey am looking for open source version for the POC. Once POC is completed then i can explore any paid plugins 

So for POC purpose do we have any plugins or do we need to use webhook only?

Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 22, 2023

I understand, you have a 30 day trial if you install the paid app.

If this is not enough for the POC then please reach out to me via mail markrekveld@marvelution.com. I'm sure we can help each other, please reference this thread when you do mail so I know its you.

I'm currently not aware of any Jenkins Integration app that can provide triggering a build from Jira Cloud to Jenkins on-prem.

0 votes
bairavasurya September 23, 2023

Hi Team,

 

can anyone share any solution for above use case 

Maximiliano Javier Julio May 20, 2024

Hi Bairavasurya,

 

Did you find any solution?

Suggest an answer

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

Atlassian Community Events