Associate Work Items with Changesets
During the check-in process, you can associate work items with changesets.
To perform this procedure, you must have the Check in or the Check out permissions set to Allow. For more information, see Team Foundation Server Permissions.
To Associate Work Items with a Changeset
In either the Pending Changes window or the Check In dialog box, click the Work Items channel. For more information about how to check in pending changes, see Check In Pending Changes.
In the Work Item list, scroll to locate the work items that you want to associate with the check-in operation, and select the corresponding options.
Before the list of work items is presented, you must select a query in the Query list. The first time the channel is used, the default query that runs is My Work Items. You can select a different query as needed.
Under the Check-in Action column, from the drop-down list, indicate the action that you want associated with the work item. Click either Associate to associate the work item with the check-in operation, or Resolve to associate and resolve the work item.
Depending on the state of the work item, the resolve option may not be available. For example, if a query displays closed bugs, you would associate the work item but not resolve it.