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
Navigate to integrations
In Sentry, go to Settings > Integrations and find Azure DevOps in the Source Control group. Click Install.
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.
Select your organization
After authorization, select the Azure DevOps organization to connect to your Sentry organization.
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
- Open a Sentry issue.
- In the Linked Issues sidebar section, click Link an Azure DevOps work item.
- 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.
- Click Save.
Link an existing work item
- Open a Sentry issue.
- In the Linked Issues sidebar section, click Link an Azure DevOps work item.
- Select Link existing work item and search by title or ID.
- Select the item and click Save.
Two-way sync
To configure sync, go to Settings > Integrations > Azure DevOps > Configure:| Option | Description |
|---|---|
| Sync Azure DevOps status to Sentry | Resolving a work item in Azure DevOps resolves the linked Sentry issue. |
| Sync Sentry status to Azure DevOps | Resolving a Sentry issue transitions the linked work item to the configured state. |
| Sync assignees | Assigning in Sentry assigns the linked work item, and vice versa. |
| Sync comments | Comments 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:- In the Azure DevOps integration settings, click Add Azure DevOps project mapping.
- Select the Azure DevOps project.
- 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.Add the Azure DevOps action
Under Then perform these actions, click Add action and select Azure DevOps.