by Serena
22. December 2009 01:41
One of the helpful features of Team Foundation Server (TFS) is the ability to associate work items with the code that was changed or created for them during the check in process. In the event that you forget to make this association during code check in, TFS allows you to link a code changeset to a work item after the fact.
After opening the work item you want to associate with a changeset, select the Links tab and click on the Add button.
Changeset is one of the options you can select in the Link type drop down box.
After you select Changeset, click on the Browse button to the right of Changeset text box inside Link details.
TFS gives you a few different ways to locate the changeset you want to associate with a work item, including a specific file contained within the changeset, the user who checked the code in, the changeset number, and a date/time range.
After you click Find, TFS presents you with a list of changesets meeting your criteria. If you would like to review the files in a changeset before clicking OK, there is a Details button at the bottom left of the dialog box that will retrieve a list of the files in the changeset.