แชร์ผ่าน


Define the URL for a work item

TFS 2017 | TFS 2015 | TFS 2013

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 TFS 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 the on-premises version of TFS you are using. .
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