English

Why is my GitHub Actions deployment to Jira not showing, and how do you fix it?

On this page

To report a GitHub Actions deployment to Jira, your workflow has to create a GitHub deployment and then post a status for it, with an environment name Jira can place and an issue key in the commits. Most “my deployments do not show” problems come from one of those three being missing.

This guide covers the rules the GitHub for Atlassian app follows, a checklist to find the break, why the deployed version is hard to see, and a different route for teams that want a per-environment view.

Why don’t GitHub deployments show up in Jira?

Because a build is not a deployment. Atlassian’s documentation says the GitHub for Atlassian Marketplace app “only listens to” deployment_status events. Deployments appear in Jira only when they are created with GitHub’s create deployment API, or the chrnorm/deployment-action named in the docs, and then given a status with the create deployment status API, or chrnorm/deployment-status, at least once.

A workflow that builds and pushes to a server over SSH has told GitHub nothing about a deployment. Jira will show the pull requests and commits, as the Atlassian Community thread “GitHub deployments do not appear in Jira Cloud, PRs and commits do” describes, but no deployment.

Diagram What has to happen for a deployment to appear

  1. Create deploymentFor the commit, naming the environment
  2. Post statusdeployment_status: in progress, then success or failure
  3. Name mapsdevelopment, testing, staging or production
  4. Key foundA work item key in the commit or branch
  5. Shown in JiraNeeds the repository connected to the site
A build alone sends nothing. Each link in this chain is one line of the checklist below.

What does a minimal workflow need?

In outline, three things happen in the job that deploys:

  1. Create a deployment for the commit, naming the environment.
  2. Run your real deployment step.
  3. Post a deployment status: in progress before, success or failure after.

The status step should run even when the deploy fails, so a failed deployment is recorded instead of silently missing. Use the exact inputs from the action or the API reference you choose; they change between versions, so copy them from its page, not from an old blog post.

How does Jira decide which environment is staging?

By name. Jira maps each deployment environment to one of development, testing, staging or production, guessing from the name; for example “prod” maps to production. Names it cannot place show as undefined. The documentation says you can fix this with a .jira/config.yml file on the main branch with a deployments.environmentMapping section, where each type takes up to 10 glob patterns. The documentation’s own example lists “staging”, “Pre-Prod” and “STG-*” under staging.

Once that file exists, automatic detection stops, so every environment name you use needs a pattern. If one environment disappears after you add the file, that is the first thing to check.

Why aren’t deployments linked to issues?

Because linking runs through work item keys. Atlassian’s page says to put Jira keys in branch names, commit messages and pull request titles, with a branch name such as DEV-2095-your-branch as its example. It also says deployments are linked by scanning the deployed branch for new commit messages that contain those keys, and that a merge without a pull request checks only the last commit message on the branch.

That last detail catches squash-heavy teams: if the key is only in the pull request description, not in the commit message that lands, nothing links.

A checklist to find the break

Check What to look for
Deployment created The run creates a GitHub deployment, visible under the repository’s deployments
Status posted At least one deployment_status event exists, including on failure
Environment name Matches a pattern in .jira/config.yml, or a name Jira can place
Issue keys Present in commit messages or branch names that reach the deployed branch
Repo connected The repository is connected to the Jira site in the GitHub for Atlassian app

How do you see which version is on staging?

This is the question the built-in view answers least well. An Atlassian Community thread titled “Surface version number in Github/Jira linked deployments” shows people asking for the version number next to the deployment. We did not find a documented setting that does it, so treat it as something to verify on your own site. Workarounds are to name the environment or the deployment description after the version, or to track it as a Jira version.

Teams that share one staging environment usually want a table: environment by application, current version, when it changed. That is a different view from a feed of events per issue, and the next section describes one way to get it. The wider design question, what to record per environment, is covered in deployment tracking in Jira: what to record for every environment.

Sending deployments to an app built for environments

ProbePilot, a Jira Cloud app for environment booking and deployment tracking, takes deployments from your own CI through an inbound web trigger. An administrator creates one token for each source in the administration settings, and the CI sends an HTTP request with the token in the Authorization header as a bearer token. Tokens in the URL query string are refused, requests are limited to 256 KB, and the URL and token should be kept in your CI’s secret store.

Its documentation lists GitHub, GitLab and Jenkins as understood sources, plus a generic JSON format for any other CI. Because GitHub’s native webhooks cannot send a bearer header, GitHub needs a step in the workflow that makes the request. The endpoint answers 202 for an accepted deployment, 200 when the same event was already recorded (so repeating an event is safe), and 401, 413 or 422 when the token is wrong, the request is too large, or something such as an unknown environment cannot be processed.

Deployments are grouped by application, so each application shows its current version per environment, and a rollback returns only that application to its previous version. The request format and every response code are in sending deployments from CI to ProbePilot. ProbePilot is for Jira Cloud only and is coming soon to the Atlassian Marketplace. For the shared-environment side of the problem, see shared staging environment conflicts.

Sources

Frequently asked questions

Why do my GitHub deployments not appear in Jira?

The GitHub for Atlassian app only listens to deployment status events. A deployment shows up only if it was created through GitHub's deployments API and then given at least one status update, and the pipeline has to do both.

How does Jira know an environment is staging?

Jira maps each deployment environment to development, testing, staging or production by guessing from its name. Names it cannot place show as undefined, and a .jira/config.yml file with an environmentMapping section lets you set the mapping yourself.

Why are my deployments not linked to issues?

Jira links deployments through work item keys in branch names, commit messages and pull request titles. Without a key such as DEV-2095 in those places, the deployment has nothing to attach to.

Can GitHub's own webhooks send deployments to ProbePilot?

Not directly. GitHub's native webhooks cannot send a bearer token header, so ProbePilot expects a step in your workflow that makes the request with the token from your secret store.