Forums

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

How does Jira deployments tab map environments?

Michael Suchacz
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!
April 21, 2023

When using Bitbucket the deployment tab was working flawlessly. With GitLab the magic seems to be gone. Is there a way to configure environment names in GitLab to be properly mapped to Development/Staging/Prod in JIRA deployments?

1 answer

0 votes
Erik Minekus
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!
October 27, 2023

You can specify the deployment tier for each environment in your .gitlab-ci.yml file to map it correctly in JIRA:

Deploy to SIT:
  stage: deploy
  environment:
    name: SIT
    deployment_tier: testing
  script: # Deploy

Deploy to UAT:
  stage: deploy
  environment:
    name: UAT
    deployment_tier: staging
  script: # Deploy

Deploy to PROD:
  stage: deploy
  environment:
    name: Production
    deployment_tier: production
  script: # Deploy

Suggest an answer

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

Atlassian Community Events