Why do all CI/CD deployment types show as development ?

Alan February 9, 2022

We have a  gitlab integration with JIRA as per this document. The integration works as many of the features are available, except deployments made to production.

 

1. When I look into to a project settings -> deployments. I can see all deployments belonging to the Development & Unmapped environment types. None of the deployments are in the Production type.

 

2. When I look into the project reports -> Deployment Frequency, no deployments show up.

 

What does JIRA read to know if it's a production deployment ? I'm guessing there's an environment variable or something our custom gitlab pipilene is not using so everything fallbacks to development.

 

2 answers

0 votes
Alan February 9, 2022

I'm in a team-managed project. Here are some screenshots showing a ticket tied to an MR that's already in production.

 

image.pngimage.pngimage.png

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2022

Is your Jira project a Team managed project or a Company Managed project?

Can you share with us screen images for what you see in each of these screens?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2022

Also I found this Atlassian issue concerning the environment mapping for the Github integration. Maybe the same applies to the integration for Gitlab.

https://jira.atlassian.com/browse/JSWCLOUD-22137

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2022

I think the issue with the Deployment Frequency report is that it reports on "production" deployments. If none of your environments are recognized as "production" environments then there will be no production deployments on which to report.

https://support.atlassian.com/jira-software-cloud/docs/view-and-understand-your-deployment-frequency-report/

Alan February 9, 2022

Agree, that must be the issue. So I think understanding why production deployments aren't mapped as production will unlock this feature. Investigating on resources you provided.

 

I mistakenly Answered instead of replying :facepalm: with other details.

 

meCash
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!
May 30, 2024

Hi @Alan did you ever resolve this. I am experiencing the same issue with Jira not reporting 'Production' deployments

Maria Bamundo
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!
November 14, 2024

@Alan  +1 also experiencing this issue

Suggest an answer

Log in or Sign up to answer