Work Item Groups In TFS

יוני 10, 2010


One very nice feature came with TFS 2010 that almost no one knows is the Work Item Groups.


In TFS 2010 you can define group of Work Item Types and filter work items using that group, for example lets take different Work Items for requirements: System Requirements and Detailed Requirements.


What I like to do is query all the requirements in the system, all I need to do is filter by the group: Requirements.


Groups


In order to change the categories you will need to export them to an XML file, change the categories and import them back to the server.


In order to export the categories do the following:


Step 1: Log in with a TFS administrator user


Step 2: Open a command line


Step 3: Change directory to: “x:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE”


Step 4: Type: Witadmin exportcategories /collection:http://[Server_Name]:8080/tfs/[Collection_Name] /p:[Team_Project_Name] /f:[Your_File_Name]


Example: Witadmin exportcategories /collection:http://MyServer:8080/tfs/DefaultCollection
/p:MyProj /f:”c:\categories.xml”


categories


In order to import the categories do the following:


Step 1: Log in with a TFS administrator user


Step 2: Open a command line


Step 3: Change directory to: “x:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE”


Step 4: Type: Witadmin importcategories /collection:http://[Server_Name]:8080/tfs/[Collection_Name] /p:[Team_Project_Name] /f:[Your_File_Name]


Example: Witadmin importcategories /collection:http://MyServer:8080/tfs/DefaultCollection
/p:MyProj /f:”c:\categories.xml”


Have Fun!!!

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *