Define the URL for a work item

Azure DevOps Services | Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018

You can define the URL for a work item using the syntax provided based on the version or platform you work from.

Important

Select a version from Azure DevOps Content Version selector.

To view the content available for your platform, make sure that you select the correct version of this article from the version selector which is located above the table of contents. Feature support differs depending on whether you are working from Azure DevOps Services or an on-premises version of Azure DevOps Server.
To learn which on-premises version you are using, see What platform/version am I using?

Examples in this article use the following conventions:

  • OrganizationName specifies the name of the Azure Boards organization
  • ServerName specifies the name of the TFS application tier server
  • Port specifies the port, default=8080
  • CollectionName specifies the name of the project collection.
  • ProjectName specifies the project name
  • WorkItemNumber specifies the ID of the bug, task, or other work item.

Azure DevOps Services

https://dev.azure.com/OrganizationName/ProjectName/_workitems/edit/WorkItemNumber

or

https://OrganizationName.visualstudio.com/DefaultCollection/ProjectName/_workitems/edit/WorkItemNumber

Examples:

https://dev.azure.com/fabrikam/Phone%20Saver/_workitems/edit/390

or

https://fabrikam/DefaultCollection/Phone%20Saver/_workitems/edit/390

Azure DevOps Server 2020

http://ServerName:Port/CollectionName/ProjectName/_workitems?id=WorkItemNumber&_a=edit

Example:

http://fabrikamprime:8080/DefaultCollection/Phone%20Saver/_workitems/133&_a=edit

Azure DevOps Server 2019, TFS 2018 through TFS 2015

http://ServerName:Port/tfs/CollectionName/ProjectName/_workitems?id=WorkItemNumber**&_a=edit**

Example:

http://fabrikamprime:8080/tfs/DefaultCollection/Phone%20Saver/_workitems/133&_a=edit

TFS 2013.2

http://ServerName:Port/tfs/CollectionName/ProjectName/_workitems/edit/WorkItemNumber

Example:

http://fabrikamprime:8080/tfs/DefaultCollection/Phone%20Saver/_workitems/edit/133

TFS 2013.1 and earlier versions

http://ServerName:Port/tfs/CollectionName/TeamProjectName_workitems#_a=edit&id=WorkItemNumber  

Example:

http://fabrikamprime:8080/tfs/DefaultCollection/Phone%20Saver/_workitems#_a=edit&id=133

Share links to work items within the context of your board or backlog with the work item URL parameter. When you open a work item form from your board, backlog, or sprint backlog, the parameter ?workitem=[ID] is appended to the URL.

For example:

https://dev.azure.com/fabrikam/FabrikamFiber/_boards/board/t/Voice/Stories/?showParents=true&workitem=191
https://ServerName/DefaultCollection/ProjectName/_boards/board/t/Voice/Stories/?workitem=56

Anyone you share the link with, opens the work item within the same context you had when you shared the link.