TICKET MANAGEMENT

Link new Sentry issues to an existing Linear umbrella bug

When Sentry opens a new issue, this checks whether it matches an existing umbrella bug already tracked in Linear.

CategoryTicket Management
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew Sentry issue createdSentrySentry
  • ActionLook up fingerprint in umbrella mapping tablePostgreSQLPostgres
  • LogicBranch: matches an existing umbrella?
  • ActionComment Sentry link on Linear umbrella + bump user countLinearLinear
  • ActionElse create new Linear bug and store mappingPostgreSQLPostgres

What it does

Catches every new issue Sentry surfaces and decides whether it is a fresh bug or just another face of one you already track. Matches go to the existing Linear umbrella issue; only genuinely new crashes create a new ticket.

When to use it

Use it when one root cause throws several Sentry fingerprints and your Linear backlog fills with near-identical bug tickets. It keeps a single umbrella issue authoritative and its affected-user total honest.

How it works

  1. 1Sentry fires when a new issue is created.
  2. 2The flow pulls the issue's culprit, fingerprint, and stack signature, then queries Postgres for a known umbrella mapping.
  3. 3A branch checks for a match: matched issues skip ticket creation; unmatched ones fall through.
  4. 4On a match, it comments the new Sentry link on the Linear umbrella issue and increments its affected-user custom field.
  5. 5On no match, it opens a new Linear bug and records the new fingerprint-to-issue mapping in Postgres for next time.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SentryErrors, performance, releases.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.