---
title: "Linear"
description: "Connect Linear so Baz agents review each pull request against the issue it implements."
canonical: "https://baz.ai/docs/integrations/ticketing/linear"
---

# Linear

Connect Linear so Baz agents review each pull request against the issue it implements.

Connect Linear to give Baz the intent behind a change. When a pull request references a Linear issue, Baz fetches it and passes the title, description, state, labels and comments to the review agents and the Verification Agent.

## What Baz uses Linear for

Review agents check each finding against what the issue asked for, so you are not flagged for doing what was requested. The [Verification Agent](/docs/agents/deploy/verification-agent) turns the issue into requirements and checks each one, and [Merger](/docs/agents/deploy/merger) flags changes that do not match the issue. The PR page shows **Ticket requirements met** in the Overview tab.

## Connect Linear

<Steps>
  <Step title="Open the Linear integration">
    Go to **Settings → Integrations**, select **Ticketing System**, then **Linear**.
  </Step>
  <Step title="Authorize Baz">
    Select **Configure**. Linear opens in a new tab. Approve read access for your workspace.
  </Step>
  <Step title="Confirm the connection">
    The **Linear Integration for Baz notifications** panel shows your Linear organization with a status icon.
  </Step>
</Steps>

Baz requests the `read` scope only.

## Link a pull request to an issue

Baz looks for an issue identifier that starts with one of your Linear team keys, such as `ENG-123`, in the pull request title or source branch.

```text title="Examples"
ENG-123 Fix pagination on the orders list
eng-123-fix-pagination
```

## Troubleshooting

<Accordion>
  <AccordionItem title="No ticket context on my pull request">
    Confirm the identifier uses a team key from the connected workspace and appears in the title or branch name.
  </AccordionItem>
</Accordion>

## Related

<CardGroup cols={2}>
  <Card title="Verification Agent" href="/docs/agents/deploy/verification-agent" icon="check-check">
    Checks each change against the issue's requirements.
  </Card>
  <Card title="Integrations" href="/docs/integrations" icon="plug">
    Every integration and what it adds.
  </Card>
</CardGroup>
