How to: Link Work Items to Changesets
When you check in the files that you have changed to complete a work item, you might want to add a link to the changeset for that work. This allows you to track what files were involved in completing the work item.
To perform these procedures, you must be a member of the Contributors group or have the View work items in this node, Edit work items in this node, Read, Check In, and Check Out permissions set to Allow. For more information, see Team Foundation Server Permissions.
To link a work item to a changeset
Submit a change to Team Foundation version control, and make a note of the changeset number. You can find the changeset number by right-clicking on a file and choosing View History. In the History pane, look for the most recent change and find the corresponding number in the Changeset column.
Open a work item and then click the Links tab.
In the Add Link dialog box, in the Link type list, select Changeset.
In the Changeset box, type the changeset number. If you do not know the changeset number, click Browse to search for a changeset.
In the Comment box, type a short comment about how the changeset is related to the work item.
Save the work item to save your changes.