// troubleshooting guide · linear
Linear GitLab Merge Request Not Linking
- Status
- Workaround available
- platforms:
- Web, macOS, Windows
- updated:
- November 23, 2026
- reports:
- 2
- Method
- how we research
RUNBOOK · linear/gitlab-merge-request-not-linking5 FIXES
// quick answer
GitLab MRs only link when the Linear issue ID is in the branch name, MR title, or after a magic word in the MR description, and only if Linear's webhook is active with the right events. Check the token scope (api, not read_api) and that self-hosted GitLab is reachable from the internet.
Most likely fix: Put the issue ID in the branch or MR title
How to fix it
// try these in order, the most common fix is first
FIX 1Put the issue ID in the branch or MR title
- 01Open the issue in Linear and press Cmd/Ctrl + Shift + . to copy the git branch name
- 02Create the branch with that name, or add the ID (e.g. ENG-123) to the MR title
- 03Or add 'Fixes ENG-123' to the MR description; for an MR that's already open, edit its title or description
Did this fix it?FIX 2Check the GitLab webhook
- 01In GitLab open the group or project Webhooks settings
- 02Confirm the Linear webhook URL is there and active
- 03Make sure Push events, Comments, Merge request events and Pipeline events are enabled and Enable SSL verification is checked
- 04Click Test on the webhook; if it fails, screenshot recent events and email support@linear.app
Did this fix it?FIX 3Fix the access token
- 01In Linear go to Settings > Features > Integrations > GitLab
- 02Use a token with the api scope (read_api can't post linkbacks); project tokens need Reporter role or higher
- 03Update the token there and enable automatic renewal so it doesn't expire
Did this fix it?FIX 4Make self-hosted GitLab reachable
- 01Self-hosted GitLab must be reachable from the public internet and on version 15.6 or newer
- 02Enter the base URL with no path (e.g. https://gitlab.yourcompany.com)
- 03Allowlist Linear's IP addresses from its Security page if you use a firewall
Did this fix it?FIX 5Set up Ready for merge correctly
- 01Enable Pipeline events on the webhook
- 02Use merge request pipelines and check 'Pipelines must succeed' in the project's Merge requests settings
- 03In Settings > Team > Workflow also set a status for 'On MR review request or activity', otherwise 'ready for merge' never triggers
Did this fix it?
SANDBOX · linear RUNS IN YOUR BROWSER
Try it: merge a PR, file issues and triage the inbox
A hands-on Linear-style sandbox, including the spots where users get stuck. See where problems like this one start. 1-2 minutes, nothing is saved.
Symptoms
A GitLab merge request is opened but never appears on the Linear issue, no linkback comment is posted on the MR, or the issue status doesn't move when the MR is opened or merged.
Why it happens
- C-01Issue ID only in a commit message or MR comment (GitLab linking ignores both)
- C-02Linear webhook missing, disabled or missing Merge request / Pipeline events
- C-03Access token created with read_api scope (no linkbacks) or a project token below Reporter role
- C-04Self-hosted GitLab not reachable from the public internet, or older than GitLab 15.6
- C-05Expired GitLab access token
- C-06Ready for merge automation missing its pipeline settings
// this guide also covers
- linear gitlab integration not working
- linear gitlab merge request not linking
- linear gitlab self hosted
- linear gitlab webhook
Still not working?
If Linear keeps failing, you're not alone. See every Linear problem users report or the alternatives people switch to.
Done fighting Linear? Our small team builds your own Linear alternative, or any software you need: web, mobile, games, desktop. Price agreed together.
Talk to usOther Linear errors
- Linear GitHub PR Not Linking to Issue
- Linear Issue Not Closing When PR Is Merged
- Linear Ready for Merge Not Triggering
- Linear GitHub Integration Stopped Working
- Linear Notifications Not Working
- Linear Free Plan 250 Issue Limit Reached
- Linear Jira Import Missing Issues or Fields
- Linear Slack Links Not Unfurling