How to: Find Changesets to Link to Work Items
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. If you are using Team Foundation source control, Team Foundation allows you to search for the changeset.
Required Permissions
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, and Read permissions set to Allow. For more information, see Team Foundation Server Permissions.
To find a changeset in which to link a work item
Open the work item to which the changeset relates.
Complete any required fields at the top of the form, for example, if you are resolving the work item at the same time.
On the Links tab at the bottom of the form, click Add.
In the Add Link dialog box, under Link type, select Changeset.
Under Link Details, click Browse.
In the Find Changesets dialog box, you can search for changesets in the following manner:
**Containing file **In the Containing file box, type the file name. You can also click the Browse button to search for the file.
By user In the By user box, type the name of the team member.
Under Range, select which changesets to search for the file and/or user name that you have specified:
All changes Searches all changesets.
Changeset number Searches for changesets that are in a specific range of changeset numbers. Select Changeset number and then enter the range of changeset numbers to return.
Created date Searches for changesets that were created during a specific time period. Under Created date, enter a starting and ending date to search between.
To start searching for changesets, click Find.
Under Results, select the changeset that you want, and then click OK.
Under Comment, type any comment that is important about this particular link.
Click OK.
See Also
Tasks
How to: Link Work Items to Changesets
How to: Open Changesets from Work Items