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

# Jira

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

Connect Jira to give Baz the intent behind a change. When a pull request references a Jira issue, Baz fetches the issue and passes its title, description, type, comments and attachments to the review agents and the Verification Agent.

## What Baz uses Jira 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 marks each one **Met**, **Partially met**, **Not met**, or **Unverifiable**, and [Merger](/docs/agents/deploy/merger) flags changes that do not match. The PR page shows **Ticket requirements met**, and [Engineering Impact](/docs/insights/engineering-impact) counts **Reported bugs** from issues marked as bugs.

## Connect Jira

<Steps>
  <Step title="Open the Jira integration">
    Go to **Settings → Integrations**, select **Ticketing System**, then **Jira**.
  </Step>
  <Step title="Authorize Baz">
    Select **Configure**. Atlassian opens in a new tab and asks you to approve read access to your Jira work items. Approve it for the Jira site you want to connect.
  </Step>
  <Step title="Confirm the connection">
    Back in Baz, the **Jira Integration for Baz notifications** panel lists your Jira site with a status icon.
  </Step>
</Steps>

Baz requests the `read:jira-work` and `offline_access` scopes. It does not write to Jira.

## Link a pull request to an issue

Baz reads the pull request title and source branch and looks for a key that matches one of your Jira project keys, such as `ABC-123`.

```text title="Examples"
ABC-123: Add rate limiting to the public API
feature/ABC-123-rate-limiting
```

If the title and branch carry no key, Baz also accepts a Jira issue link (`https://<site>.atlassian.net/browse/ABC-123`) in the pull request description.

## Troubleshooting

<Accordion>
  <AccordionItem title="No ticket context on my pull request">
    Check that the key in the title or branch uses a project key from the connected Jira site, and that the account that authorized Baz can see that project.
  </AccordionItem>
  <AccordionItem title="The Configure button is disabled">
    Jira supports one connection per organization. Delete the existing connection from the panel menu before connecting a different site.
  </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>
