How to add a custom work item type to a group in TFS2010

I created a custom work item type in TFS2010, and I think I need to add it to the requirements group so that it appears in the Test Center (work items can be found, but my new type cannot, even if I set the search filter to explicitly look for him). How to do it?

+3
source share
2 answers

OK, finally I found something useful on MSDN. You must use witadmin

Open the VS2010 command prompt and get the following categories:

C:\Users\Administrator\Documents>witadmin exportcategories /collection:http://win-gs9gmujits8:8080/tfs/defaultcollection /p:"My Project Name" /f:categories.xml

This MSDN article then explains the syntax of the XML category file. I added my type of custom work item as follows:

<CATEGORY refname="Microsoft.RequirementCategory" name="Requirement Category">
  <DEFAULTWORKITEMTYPE name="User Story" />
  <WORKITEMTYPE name="My Custom Work Item Type" />
</CATEGORY>

reimport witadmin:

C:\Users\Administrator\Documents>witadmin importcategories /collection:http://win-gs9gmujits8:8080/tfs/defaultcollection /p:"My Project Name" /f:categories.xml

.

+4

, XML, TFS PowerTools.

: http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f

Tools > Process Editor > Work Item Types

enter image description here

+2

All Articles