Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How would you associate a work item to a previous check-in in TFS

I checked-in my codes in TFS but I forgot to associate a work item. I tried to go to check-in history and opened the check-in change set details but when I clicked on the Work Items button, it says that there is no work items associated and it does not give me an option to associate one.

like image 238
Lance Avatar asked Aug 10 '09 05:08

Lance


1 Answers

You can do it the other way around; open the work item and add a link to the relevant changeset. If using the default work item templates:

  1. Get the changeset ID by looking at the History of one of the changed files
  2. Open the relevant work item
  3. Select the Links tab
  4. Click the Add button
  5. Select "Changeset" from the Link type dropdown
  6. Enter the changeset ID (from step 1) into the Changeset field, and click OK
  7. Save the work item

Granted, it won't say "Resolved with changeset XXX" in the work item's history, but the work item will appear in the changeset's list of associated work items.

like image 115
Mal Ross Avatar answered Oct 24 '22 08:10

Mal Ross