Guide

Move Jira tickets automatically when pull requests merge

The code already knows what's happening: a branch was created, a pull request opened, a merge landed. The ticket should know too. Here's how to make Jira and Linear tickets move on their own as the code moves, without surprising anyone.

Updated October 23, 2026 · 7 min read · By Amit Rajput, founder of Align

The moves that matter

When this happens in GitHubThe ticket moves to
A branch is created or the first commit is pushedIn Progress
A pull request is openedIn Review
The pull request is mergedDone
Changes are requested on the PRA note on the ticket

How the commit finds its ticket

  • Put the ticket key in the branch name: eng-231-onboarding-flag. This is the most reliable.
  • Or in the pull request title or a commit message: "ENG-231 Add the flag column".
  • Without a key, a good tool matches by what the PR describes against your open tickets, and asks before creating a new one.

Set it up with Jira Automation (no extra tools)

  1. Install the GitHub for Jira app from the Atlassian Marketplace and connect your GitHub organization. Wait for the first backfill to finish; until then, events for older branches won't show.
  2. Agree on a naming rule: the issue key goes in the branch name (eng-231-onboarding-flag) or the PR title (ENG-231 Add the flag column). Jira only links what carries a key.
  3. Go to Project settings → Automation → Create rule. Trigger: Pull request merged.
  4. Optional condition, for issues with several PRs: a JQL condition development[pullrequests].open = 0, so the issue only closes when its last open PR is merged.
  5. Action: Transition issue → Done. If your workflow doesn't allow In Review → Done in one step, add one Transition action per step, in order, in the same rule.
  6. Repeat with the trigger Pull request created → In Review, and Branch created → In Progress.
  7. Need it on several projects? Create the rule from global automation settings and scope it to those projects instead of copying it into each one.
The rule, written out
When:      Pull request merged
If:        Issue status is not Done
           (optional) JQL: development[pullrequests].open = 0
Then:      Transition issue to Done
           Comment on issue: Merged in {{pullRequest.url}}

When the rule doesn't fire

  • No issue key in the branch name or PR title, or a typo in it. Check the Development panel on the issue: if the PR isn't listed there, automation can't see it.
  • The GitHub for Jira app isn't connected to that repository, or is still backfilling.
  • The rule is scoped to a different project, or is disabled. Open the rule's audit log: it shows every run and why it stopped.
  • The transition needs a field (often Resolution on Done) that the rule doesn't set. Set it in the Transition action, or remove the screen from that transition.
  • The rule's actor lacks the Transition issues permission in that project.
  • Your plan's monthly automation limit was reached. Usage is shown in the automation settings.

Where built-in automation stops

Jira Automation covers Jira only, and every workflow change means checking your rules. It also can't connect a PR to a ticket when nobody typed the key, and it moves tickets without asking, so a wrong move is only noticed later.

A dedicated tool reads each workflow and walks the ticket there, fills required fields such as a resolution on Done, matches PRs without a key by what they describe, works for Linear too, and shows a move it couldn't make instead of failing quietly.

Align Plans Inbox with a ticket update card: PR #42 opened, so LCH-6 moves from In Progress to In Review, with a Move to In Review button
In Align, a PR opening suggests the move (In Progress → In Review) and waits for one click, unless you turn on auto-move for your own tickets.

Keep a person in the loop

Automatic moves are great until one is wrong. Start with approve-by-default: each move appears as a one-click card. Once the team trusts it, switch on auto-move for your own tickets and keep an undo.

How Align does this for you

Align watches GitHub through your connected account or the Align GitHub App, and an optional git hook catches each commit the moment you make it. Every move shows as a card in your Plans Inbox ("ENG-231 → In Review?"), or happens on its own if you turn on auto-move for your own tickets. The move syncs to Jira or Linear, walking multi-step workflows and filling the resolution Jira asks for. Each move leaves a short comment linking back to the PR.

See PlansStandups from Jira and GitHubJira tickets from meetings

Frequently asked questions

Do I need the ticket key in the branch name?

It's the most reliable way, but not required. Without a key, Align matches the PR to the open ticket it describes and asks before creating a new ticket.

Will it move tickets without asking?

Only if you turn on auto-move for your own tickets. By default every move waits for one click, and every automatic move can be undone.

More guides

Let tomorrow’s standup write itself

Sign up, connect Jira or Linear (or just use Plans), and hold your standup as usual. The tickets are drafted by the time you hang up, and the next update is ready before anyone asks.

Free plan Two-way sync Nothing moves without your OK

Done yesterday

ENG-219 · Invite flow

In review

ENG-205 · Billing webhook

ENG-231 · from Daily standup

Ship the onboarding flag for new teams

To doIn progressIn reviewDone