---
title: "Azure Boards"
description: "Use the Azure DevOps integration to bring Azure Boards work items into every review."
canonical: "https://baz.ai/docs/integrations/ticketing/azure-boards"
---

# Azure Boards

Use the Azure DevOps integration to bring Azure Boards work items into every review.

The Azure DevOps integration covers both Azure Repos and Azure Boards. Once it is connected, Baz attaches the linked work item to each pull request: title, description, type, comments, and the text of up to five document attachments.

## What Baz uses work items for

Review agents check each finding against what the work item asked for, so you are not flagged for doing what was requested. The [Verification Agent](/docs/agents/deploy/verification-agent) turns the work item into requirements and checks each one, and [Merger](/docs/agents/deploy/merger) flags changes that do not match it.

## Connect Azure DevOps

<Steps>
  <Step title="Open the Azure DevOps integration">
    Go to **Settings → Integrations**, select **Ticketing System**, then **Azure DevOps**. You need the Admin role.
  </Step>
  <Step title="Choose how to sign in">
    Select **Configure**. In the **Connect Azure DevOps** dialog, select **Connect** to sign in with Microsoft, or expand **Connect with a Personal Access Token instead** and enter the **Organization URL** (`https://dev.azure.com/your-organization`) and **Personal Access Token**, then select **Connect with token**.
  </Step>
  <Step title="Add repositories (optional)">
    To also review Azure Repos pull requests, select **Add repositories** on the connected organization. See [Azure DevOps](/docs/connect/azure-devops).
  </Step>
</Steps>

:::tip
For token sign-in, add a dedicated Azure DevOps account for Baz as a Project Administrator and create the token from that account.
:::

## Link a pull request to a work item

- **Azure Repos pull requests:** Baz uses the work item linked to the pull request in Azure DevOps.
- **Any pull request:** Baz also finds a work item ID written as `AB#12345` in the title or source branch.

## Related

<CardGroup cols={2}>
  <Card title="Connect Azure DevOps" href="/docs/connect/azure-devops" icon="git-pull-request">
    Review Azure Repos pull requests with Baz.
  </Card>
  <Card title="Verification Agent" href="/docs/agents/deploy/verification-agent" icon="check-check">
    Checks each change against the work item's requirements.
  </Card>
</CardGroup>
