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 GitHub | The ticket moves to |
|---|---|
| A branch is created or the first commit is pushed | In Progress |
| A pull request is opened | In Review |
| The pull request is merged | Done |
| Changes are requested on the PR | A 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)
- 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.
- 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.
- Go to Project settings → Automation → Create rule. Trigger: Pull request merged.
- 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.
- 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.
- Repeat with the trigger Pull request created → In Review, and Branch created → In Progress.
- 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.
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.

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.