English

Why is my GitLab deployment not showing in Jira, and how do you fix it?

On this page

A GitLab deployment does not show in Jira when the pipeline misses one of four conditions: it runs on the branch connected to Jira, its environment uses a recognized name, the same linked branch is selected when you run it, and the commit message carries the Jira issue key. Check those four in order before you change anything else.

Quick fix, in order:

  1. Run the pipeline on the branch that is connected to Jira.
  2. Name the environment development, testing, staging or production (or map your name to one of them).
  3. Select the same linked branch when you start the pipeline.
  4. Put the Jira issue key in the commit message.

This guide turns Atlassian’s support article into a checklist, adds the failure modes that look the same from the outside, and shows a second route for teams that want to see which version sits on which environment.

Why doesn’t my GitLab deployment show up in Jira?

Because Jira only shows a deployment it can place. Atlassian’s support article for Jira Software Cloud says that referencing issue keys on branches, pull requests and commits is not enough: once the build is deployed, the deployment information is not shown unless its listed conditions are met. The page was updated on 25 September 2025, so check it for changes before relying on this summary.

The deployment record needs a branch, an environment and an issue to attach to. If any of the three is unclear, Jira has nothing to display, and nothing warns you. The pipeline passes, and the Deployments view stays empty.

What are the four conditions?

Atlassian lists them as follows, in its own order:

  1. The branch connected to Jira Cloud is the one used in GitLab CI/CD.
  2. The pipeline file uses one of the environments in the mapping, with the types development, testing, staging and production.
  3. When you run the pipeline, you select the same branch that is linked to Jira.
  4. The pipeline commits changes with the Jira issue key in the commit message.

Condition 3 is easy to miss with manual or scheduled pipelines, because they let you pick any branch.

A checklist to find the break

Work from the top and stop at the first row that fails.

Check What to look for
Repository connected The GitLab project is connected to the Jira site, to the right project
Pipeline branch The run used the branch that is linked to Jira, not a copy or a fork
Environment name The job’s environment name maps to development, testing, staging or production
Issue key The commit message that reaches the branch contains a key such as SHOP-123
Pipeline status The deploy job actually ran and finished, instead of being skipped by a rule

If all five pass and the deployment is still missing, test with a minimal pipeline: one job, one environment name from the list, one commit with a key. If that shows, add your real jobs back one at a time.

Why does my environment show as the wrong type?

Jira groups environments into four types. A job named qa or preprod may not fall into the type you expect, and the deployment may appear under a different one or none. Name the environment after a type, or map it explicitly in the configuration Atlassian describes, and rerun. We did not verify the exact file layout for GitLab, so copy it from Atlassian’s page, not from this post.

Why is it still missing after a merge?

A squashed or rebased merge can leave the issue key behind. If the key was in the merge request title but not in the commit that lands on the branch, the pipeline sees a commit with no key, and the fourth condition fails. Put the key in the commit message, or set your squash message template to include it. The same trap is described for GitHub in why a GitHub Actions deployment does not show in Jira.

How do you see which version is on staging?

The built-in view is a feed of deployments per issue, not a table of environments. If your question is “what is on staging right now, and since when?”, you want one row per environment and application. Deployment tracking in Jira: what to record for every environment describes the record to keep and the matrix to build from it. The order in which environments depend on each other matters too, as covered in staging environment dependencies and deploy order.

What does a worked example look like?

This is an example, not a customer story. A team has a GitLab pipeline with deploy_staging and deploy_production jobs. Production deployments show in Jira, staging ones do not. The jobs are identical apart from the environment, which is named stg-eu. Jira cannot place that name, so the team renames it staging. Next, a hotfix deployment is missing: the pipeline was started from a copy of the branch. The team reruns it from the linked branch with the issue key in the commit message, and it shows.

Example Staging missing, production showing

Conditiondeploy_productiondeploy_staging
Branch linked to Jirayesyes
Environment nameproductionstg-eu, not recognised
Same branch selected on runyesyes
Issue key in commit messageyesyes
Shown in Jirashownmissing
A worked example: two identical jobs differ only in the environment name.

Doing this inside Jira with an app

ProbePilot, a Jira Cloud app for environment booking and deployment tracking, takes deployments from your own CI through an inbound web trigger. Its documentation lists GitHub, GitLab and Jenkins as understood sources, plus a generic JSON format for any other CI. An administrator creates one token for each source, and the pipeline sends the token in the Authorization header as a bearer token. Tokens in the URL query string are refused, and requests are limited to 256 KB.

The endpoint answers 202 for an accepted deployment, 200 when the same event was already recorded, and 422 when the request is valid but cannot be processed, for example an unknown environment, so a retried job is safe. A deployment record keeps the source, the environment, the commit reference, the pipeline link and the status. The request format and all response codes are in sending deployments from CI to ProbePilot. ProbePilot is for Jira Cloud only and is coming soon to the Atlassian Marketplace.

Sources

Frequently asked questions

Why is my GitLab deployment not showing in Jira?

Atlassian's support article lists four conditions: the pipeline runs on the branch connected to Jira, the pipeline file uses one of the recognized environment names, the same linked branch is selected when you run it, and the commit message contains the Jira issue key. If any one is missing, the deployment is not shown.

Which environment names does Jira recognise for GitLab deployments?

The Atlassian article lists development, testing, staging and production as the environment types in the mapping. A job named after something else, such as qa or preprod, needs to be mapped to one of these types.

Do I need a Jira issue key in the commit for a deployment to show?

According to Atlassian's article, yes. It says to commit changes in the pipeline while mentioning the Jira issue key in the commit message, so a deployment from a commit without a key is not attached to any issue.

Can I send GitLab deployments to a Jira app without the built-in integration?

Yes, if the app accepts deployment requests from CI. ProbePilot lists GitLab as a source: your pipeline sends an HTTP request to the app's web trigger with a bearer token, and the app records the deployment against the environment it names.

Is it safe to send the same deployment event twice?

For ProbePilot, yes. The endpoint answers 200 when the same event was already recorded and changes nothing, so a retried pipeline job does not create a duplicate.