Forums

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

Deployment Gating on Gitlab using JIRA

John Lesty Tolentino March 26, 2025

I'm testing JIRA Premium (on trial) and Gitlab Integration but I don't understand how the Deployment Gating can work. I have a JIRA Software Development Project but it seems like I'm required to have a JIRA Service Management project instead. I tried setting up two projects, one for each but I can only see the Gitlab Integration with the Software Development Project and not Service Management like what most of the guides posted have. (i.e. this one: 

https://community.atlassian.com/forums/App-Central-articles/Introducing-deployment-gating-for-GitLab-in-Jira-Service/ba-p/2831357

 

Anyone got any idea how to make this work with a Software Development Project or what settings do I need to change in my Service Management project to setup the GitLab integration?

Both JIRA and gitlab currently are on cloud, but if I can get this to work, I'm looking at setting up JIRA server in-house instead later on.

1 answer

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2025

Hello, Good day. Gitlab should work fine in Jira software project template. 

You need to install the following addon in Jira cloud site : https://marketplace.atlassian.com/apps/1221011/gitlab-for-jira-cloud?tab=overview.

Please refer to the link : https://support.atlassian.com/jira-cloud-administration/docs/integrate-gitlab-with-jira/

 

John Lesty Tolentino March 26, 2025

Hi Mohanraj, thanks for replying.

I used the JIRA Software Project for this.
I've installed the addon and did the following already based on the guide:

  • Install the GitLab Marketplace app
  • Add your GitLab namespace in Jira
  • Set up your Jira integration in GitLab
  • Add Jira work item keys in your commits, branches, and merge requests
    • I've used the JIRA Ticket # as reference
  • Set up a CI/CD pipeline in GitLab
    • I created a simple pipeline with just a build stage and deploy stage.
    • In the deploy stage I've specified the environments staging and production on two separate jobs

I've also gone to the JIRA Integration in Gitlab and enabled the Deployment Gating with the environments production,staging,testing,development.

But even after setting all of this up, my deployment proceeds without requiring approval from JIRA side. Is there anything I'm missing here?

Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2025

Steps looks fine. On the Jira work item development panel, whether the commit info is getting synced from Gitlab?

John Lesty Tolentino March 26, 2025

Hi Mohanraj,

Yes, deployment panel gets populated. Also the Deployment tab under the Releases for the Ticket. 

But it doesn't stop the job from executing. Do I need to set something to enable "approval" first before deployment happens?

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