Skip to main content
The Azure DevOps integration (formerly VSTS) connects your Sentry organization to one or more Azure DevOps organizations. It enables commit tracking, work item creation, two-way issue sync, stack trace linking, and code owners.

Features

Commit tracking

Track commits and releases to identify the changes that introduced an error.

Work item creation

Create Azure DevOps work items from Sentry issues and navigate between them.

Two-way sync

Resolving a work item in Azure DevOps resolves the linked Sentry issue, and vice versa. Assignees and comments sync bidirectionally.

Stack trace linking

Navigate from a stack frame directly to the corresponding line in your Azure DevOps repository.

Code owners

Import your codeowners file to auto-assign Sentry issues to the right team.

Alert rule actions

Automatically create work items when an issue alert fires.

Installation

1

Navigate to integrations

In Sentry, go to Settings > Integrations and find Azure DevOps in the Source Control group. Click Install.
2

Authorize with Microsoft

Sentry redirects you to Microsoft to authorize access. Sign in with the account that has admin access to the Azure DevOps organization you want to connect.
3

Select your organization

After authorization, select the Azure DevOps organization to connect to your Sentry organization.
4

Select repositories

Choose the Azure Repos repositories to link to your Sentry projects for commit tracking.

Commit tracking

Once repositories are connected, Sentry associates commits from your Azure Repos with Sentry releases. This enables:
  • Suspect commits highlighted on the issue detail page
  • Release commit lists in the Releases section
  • Auto-resolving issues via commit messages (Fixes PROJ-123)

Work item creation and linking

Create a new work item

  1. Open a Sentry issue.
  2. In the Linked Issues sidebar section, click Link an Azure DevOps work item.
  3. Select Create new work item and fill in:
    • Project: The Azure DevOps project.
    • Work item type: Bug, Task, User Story, and so on.
    • Title: Pre-filled from the Sentry issue title.
  4. Click Save.
  1. Open a Sentry issue.
  2. In the Linked Issues sidebar section, click Link an Azure DevOps work item.
  3. Select Link existing work item and search by title or ID.
  4. Select the item and click Save.

Two-way sync

To configure sync, go to Settings > Integrations > Azure DevOps > Configure:
OptionDescription
Sync Azure DevOps status to SentryResolving a work item in Azure DevOps resolves the linked Sentry issue.
Sync Sentry status to Azure DevOpsResolving a Sentry issue transitions the linked work item to the configured state.
Sync assigneesAssigning in Sentry assigns the linked work item, and vice versa.
Sync commentsComments on Sentry issues are posted to linked work items.

Project status mapping

For status sync, map each Azure DevOps project to Sentry and define which work item state corresponds to resolved:
  1. In the Azure DevOps integration settings, click Add Azure DevOps project mapping.
  2. Select the Azure DevOps project.
  3. Choose the work item state that means resolved and the state that means unresolved.

Alert rule actions

With the Azure DevOps integration installed, you can add a Create an Azure DevOps work item action to your issue alert rules.
1

Open your alert rule

Go to Alerts > Alert Rules and create or edit a rule.
2

Add the Azure DevOps action

Under Then perform these actions, click Add action and select Azure DevOps.
3

Configure the work item fields

Select the project and work item type, then configure any additional fields.

Stack trace linking

Stack trace linking maps stack frames to lines in your Azure Repos repositories. For linking to work, your project needs a connected repository and release commits tracked.

Code owners

Sentry can import codeowners data from Azure Repos and use it to assign issues.
1

Go to your project settings

Navigate to Settings > Projects > [your project] > Code Owners.
2

Sync the CODEOWNERS file

Click Sync CODEOWNERS to fetch the file from the linked repository.
3

Map Azure DevOps users to Sentry users

Map Azure DevOps user accounts to Sentry members to enable auto-assignment.

Build docs developers (and LLMs) love