Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In TFS how can I correct the links to work items on an existing changeset

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?

like image 870
JonN Avatar asked Apr 14 '11 20:04

JonN


People also ask

How do I edit a changeset in TFS?

click the CODE link at the top of the page. you should be in the Explorer tab under your project, in the tree view navigate and select the specific branch you are interested in. click the Changesets link at the top of the page to bring up the changesets for that branch.

How do you link work items?

Open a work item and choose the Links tab. From the links control tab you can link to new or existing work items, delete a link, or open the linked object. From the Query Results view, you can link a work item to a new or existing work item.

How do I view changeset details in TFS?

Find a changeset by IDIn Source Control Explorer, press Ctrl + G. The Go to Changeset dialog box appears. Type the number of the changeset and choose OK. If you don't know the number, choose Find.


2 Answers

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.

like image 107
paulmey Avatar answered Sep 26 '22 15:09

paulmey


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

like image 23
joshmcode Avatar answered Sep 26 '22 15:09

joshmcode