Forums

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

How to Automatically Create a Jira Release from a CI Pipeline Deployment?

Souhail Marghabi
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!
January 30, 2024

hello everyone,

 

I'm currently facing a challenge integrating Jira with our deployment process and would appreciate any insights or guidance you can provide.

Context: We have a continuous deployment pipeline set up in GitLab. When a new app version is deployed to the app stores, our pipeline automatically creates a tag commit in GitLab to mark the deployment.

Challenge: I want to streamline our process by automatically creating a corresponding release in Jira that aligns with the deployed version tagged in GitLab. However, I'm not sure how to set this up using Jira automation.

Specifics:

  • The pipeline in GitLab deploys the app and tags the commit with the version number.
  • I need to create a Jira release that matches this version number each time a deployment is made.

Questions:

  1. Is there a way to set up Jira automation to detect when a new tag is created in GitLab and subsequently create a Jira release with the same version number?
  2. Are there any specific Jira integrations or plugins that facilitate this kind of automation with GitLab?
  3. If anyone has implemented a similar workflow, could you share your approach or any scripts that might be helpful?

I'm looking for a solution that minimizes manual intervention and ensures our Jira releases are always in sync with our actual deployments.

Thank you in advance for your help and suggestions!

1 answer

1 vote
Kalyan Sattaluri
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.
January 30, 2024

 

  • From GitLab, Send a webhook to Jira once deployment is successful with your version number in payload.
  • Within Jira, set up a rule which listens to incoming webhook and creates new version with the version number you sent.

I am hoping there are more steps than creating a version in Jira, like associating issues to it or releasing the version etc.. 

 

Kalyan Sattaluri
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.
January 30, 2024

for cloud, please see here if you need info on how to get Jira token for auth/authz.

for data center, see here

Suggest an answer

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

Atlassian Community Events