Use #ID to link to work items

Azure DevOps Services | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015

Use the #ID control to quickly link objects to work items.

Note

The #ID special control feature is available from TFS 2015 Update 1 and later versions.

When you are leaving a code comment in a pull request, you can enter # to trigger the #ID work item picker. The picker displays a list of 50 work items that you have recently modified or that are assigned to you.

You can narrow the list of suggested work items by entering keywords that match the work item type, ID, or title, or you can enter the exact work item ID.

Pull request comment area, type # to invoke work item control
To further filter the list, continue to enter keywords until you've found a match. You can enter up to five keywords.

You can also use the #ID control in pull request discussions, commit comments, changeset comments, and shelveset comments.

Note

Requires TFS 2015 Update 2 or a later version.

Use the #ID control to link to a work item from within a Wiki page.

To learn more about the built-in wiki, see Add & edit wiki pages.