Work Item to Changeset

Associating a Work Item to a Changeset After Checking In

Today I received an email asking how to associate a work item with a change set after all the code was checked in (without performing the association.)

It turns out the solution is relatively simple.  On the Links tab of the work item select Add.  By default, this shows the Link Type is set to Work Item.  However, you can change the type to Changeset and then browse for the change set(s) you wish to associate with the code.

Work Item Add Link

(The browse functionality is a good reason why you always want to include comments with your check-in.)

2 thoughts on “Work Item to Changeset”

  1. This adds the link from the Work Item the Changeset.
    But this won’t add the backlink from the Changset to the Work Item.
    In other words, the Work Item is not still displayed in Related Work Items list of the Changeset view.

Leave a Reply

Your email address will not be published. Required fields are marked *