Deployment Information is not available in Jira from Gitlab
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
After Integrating Gitlab with Jira, Development information is available however deployment information is not seen after building a pipeline
Environment
Jira Cloud
Cause
Integrating Gitlab and referencing issue keys on Branches, PR's and commits will not show deployment details, Once the build is deployed the deployment info is not shown unless the below points are met
Solution
The below pre-requisites should be met for deployment information to be visible from Gitlab in Jira
- The branch connected to Jira cloud should be used in GitLab CI/CD
The YML file should have one of the environments mentioned
deployments: environmentMapping: development: testing: staging: production:
- When running the pipeline make sure the same branch which is linked to Jira is selected
- Now commit changes in the pipeline while mentioning the Jira issue key in the commit message
Video: