Is it possible to customize the AddIn/template?

Apr 5, 2010 at 8:19 AM

I would like to do the following

1. For each CodeReview Item, i want to put the hours consumed by the work item

2. In the "Create Code Review Response" in VS Addin, i would like to add the Severity field.

Can anyone guide me how to do do these changes?

Apr 12, 2010 at 3:22 AM

HI - sorry for the late reply. What version do you have? The Severity field should be populated as long as the TFS project you are using has the the recent Work Item Type uploaded. IE - if you create e a new TeamReview Work Item "manually" just like you might create a Task, or a Requirement does it show the Severity field? If not, then that is the underlying issue for #2. To fix that you should use witimport (for tfs 2005 and 2008) or witadmin (tfs 2010) to upload the 1.1.3 work item type.

Also, there's nothing preventing you from making general customizations to the TeamReview work item type. However, removing any of the fields with the "CodeReviewAddIn" prefix is not advised, because the VS AddIn code relies on the existence of those fields. We certainly recommend that you adjust the AllowedValues collection of TeamReview's severity and CodeItemType fields to fit your desires.