// 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
Share

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

  1. FIX 1Put the issue ID in the branch or MR title

    1. 01Open the issue in Linear and press Cmd/Ctrl + Shift + . to copy the git branch name
    2. 02Create the branch with that name, or add the ID (e.g. ENG-123) to the MR title
    3. 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?
  2. FIX 2Check the GitLab webhook

    1. 01In GitLab open the group or project Webhooks settings
    2. 02Confirm the Linear webhook URL is there and active
    3. 03Make sure Push events, Comments, Merge request events and Pipeline events are enabled and Enable SSL verification is checked
    4. 04Click Test on the webhook; if it fails, screenshot recent events and email support@linear.app
    Did this fix it?
  3. FIX 3Fix the access token

    1. 01In Linear go to Settings > Features > Integrations > GitLab
    2. 02Use a token with the api scope (read_api can't post linkbacks); project tokens need Reporter role or higher
    3. 03Update the token there and enable automatic renewal so it doesn't expire
    Did this fix it?
  4. FIX 4Make self-hosted GitLab reachable

    1. 01Self-hosted GitLab must be reachable from the public internet and on version 15.6 or newer
    2. 02Enter the base URL with no path (e.g. https://gitlab.yourcompany.com)
    3. 03Allowlist Linear's IP addresses from its Security page if you use a firewall
    Did this fix it?
  5. FIX 5Set up Ready for merge correctly

    1. 01Enable Pipeline events on the webhook
    2. 02Use merge request pipelines and check 'Pipelines must succeed' in the project's Merge requests settings
    3. 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 us

Watch Linear Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

Other Linear errors

All 15 Linear errors and fixes →