42

After checking in a change-set into source control in VS2010 TFS, how do I make corrections to the work items associated with the check-in. For example if I realize there was another work item that should be linked to the changeset or if it was a bug fix and it was linked to the wrong bug work item?

JonN
  • 2,498
  • 5
  • 33
  • 49

3 Answers3

58

You cannot change it from the changeset UI, but you can change it from most work item UI's. You can just add a link to a the specific changeset and the changeset will show the link as well.

paulmey
  • 1,046
  • 9
  • 3
  • I have two Code Review Request work items that are associated with the wrong Changeset work item. In their Links list they don't list the Changeset so I can't remove it. I was able to un-associate a Task work item from the Changeset by deleting the link. Guess that code is the option of last resort. – JohnC Jan 06 '16 at 16:31
5

For TFS 2014, you still cannot change it from the changeset section. Still in the Work Items section. I thought I'd add the below, since I like pictures :-). Go to your work items, as in the image below, where I am in the Work>Backlogs>Board view:

enter image description here

Once you are in there, click the work item to see details and then select All Links.

enter image description here

You can then go in and add/remove items:

enter image description here

joshmcode
  • 3,471
  • 1
  • 35
  • 50
  • 1
    Even if my environment isn't identical to yours, you images led me on the right way of solving the issue of removing a work item assosiation from a changeset, so thanks for posting them! /Culme – Culme Oct 25 '16 at 20:57
  • 2
    It's almost identical in TFS 2015 too - Go to the work item > find 'Links' > Edit the linked changesets as you need – Parrybird Jul 06 '17 at 14:12
0

It's actually very easy

Just Remove the link from the wrong location by clicking the X, then go to the correct location and add link

enter image description here