TICKET MANAGEMENT

Auto-flag duplicate Linear bug reports with a triage comment

When a bug issue is created in Linear, it searches existing issues for the same defect and, on a match.

CategoryTicket Management
Enginesim
Difficultyintermediate
Triggerevent
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew Linear bug issue createdLinearLinear
  • ActionEmbed title + repro stepsOpenAI
  • ActionNearest-defect vector searchPostgreSQLPostgres
  • LogicStrong match and canonical still open?
  • ActionSet duplicate relation in LinearLinearLinear
  • OutputComment with canonical + overlap reasoningLinearLinear

What it does

Each new Linear bug issue is checked against the existing backlog for the same underlying defect. When a strong match is found, the workflow sets Linear's native duplicate relation, links the canonical issue, and leaves a comment explaining what overlapped so the reporter understands the call.

When to use it

Use it for engineering teams drowning in repeat bug reports for known issues. It keeps the backlog clean without making triagers manually search for prior reports.

How it works

  1. 1A new Linear issue labeled as a bug triggers the flow.
  2. 2OpenAI embeds the title and reproduction steps.
  3. 3Postgres queries stored issue vectors for the nearest defect.
  4. 4A logic step checks the match score and that the canonical issue is still open.
  5. 5If matched, Linear marks the new issue as a duplicate of the canonical one.
  6. 6A comment is posted naming the canonical issue and the overlapping signals; the new vector is saved for future searches.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect LinearIssues, projects, cycles, triage.
  2. 2
    Connect OpenAIModels, embeddings, files.
  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.