Linking TFS Changesets to Work Items After Code Check In

by Serena 22. December 2009 01:41

One of the helpful features of Team Foundation Server (TFS) is the ability to associate work items with the code that was changed or created for them during the check in process.  In the event that you forget to make this association during code check in, TFS allows you to link a code changeset to a work item after the fact.

links_tab 

After opening the work item you want to associate with a changeset, select the Links tab and click on the Add button.

add_link_cropped

 

Changeset is one of the options you can select in the Link type drop down box.

After you select Changeset, click on the Browse button to the right of Changeset text box inside Link details.  

 

find_changeset_cropped 

TFS gives you a few different ways to locate the changeset you want to associate with a work item, including a specific file contained within the changeset, the user who checked the code in, the changeset number, and a date/time range.  

After you click Find, TFS presents you with a list of changesets meeting your criteria.  If you would like to review the files in a changeset before clicking OK, there is a Details button at the bottom left of the dialog box that will retrieve a list of the files in the changeset.

Tags:

Software Development

Comments

12/22/2009 4:15:56 PM #

Nicely done Serena!

Rick Glos United States |

1/8/2010 7:46:34 AM #

Just wanted to give you a shout from the valley of the sun, great information. Much appreciated.

Mobilt bredbånd United States |

1/10/2010 12:52:21 PM #

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.

dog behavior problems United States |

Powered by BlogEngine.NET 1.5.0.7
Theme by Perkins Consulting Content Copyright 2009 Perkins Consulting, LLC All rights reserved.