Lesstep
Azure DevOps Services and Server · Pull requests · October 26, 2026

Azure DevOps pull request work items

An Azure Repos pull request can be linked to Azure Boards work items: a branch policy can require one, and completing the pull request can move them on, for example from Active to Resolved. Below is how the pieces fit, from Microsoft's Create pull requests, Branch policies, Complete pull requests, Automate work item completion with pull requests and Repository settings.

Linking work items

Requiring a linked work item

The branch policy Check for linked work items, turned on under Branch Policies, requires a linked work item before the pull request can merge. Set to Optional, it only warns when none is linked. From the command line it is az repos policy work-item-linking create with --blocking true or false. In az repos pr policy list it appears as Work item linking.

Completing work items with the pull request

From the REST API

Work items in IntelliJ IDEA

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, lists the pull requests of Azure DevOps Services and Azure DevOps Server in an IDE tool window. From version 1.0.55 a pull request shows its linked work items by number, each opening in the browser, next to the branch policies, where Linked work items says whether the policy is met. When work items are linked, its Complete dialog has Complete linked work items after merging, for completing now and for auto-complete, and remembers your last choice as the web page does. Before 1.0.55, completing from the plugin never moved them on. The review inbox, the branch policies and the work item list are free; voting, commenting, completing and creating pull requests are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps is a trademark of Microsoft Corporation; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: auto-complete and optional policies · comment status and the comment resolution policy · merge types · pull request tags, which share their names with work item tags · 日本語