Friday, February 05, 2016

Customizing the TFS work item state


Adding value to TFS task work item state "Re Open"

witadmin exportwitd /collection:http://vsalm:8080/tfs/FabrikamFiberCollection /p:FabrikamFiber /n:Task /f:C:\templates\Task.xml


Now go to task template and add new state “Re Open”

Now add the transition flow in same task template -- transition flow is (Done- Re Open)


Now get the processconfig template for the same project

witadmin exportprocessconfig /collection:http://vsalm:8080/tfs/FabrikamFiberCollection /p:FabrikamFiber /f:C:\templates\processconfig.xml
 
Now go to processconfig template and add the state “Re Open”
 
Now import task and processconfig templates back to the team project
 
First import the task template.
 
witadmin importwitd /collection:http://vsalm:8080/tfs/FabrikamFiberCollection /p:FabrikamFiber /f:C:\Users\Julia\Desktop\ChangedTemplates\Task.xml


Now import the processconfig tamplate.

witadmin importprocessconfig /collection:http://vsalm:8080/tfs/FabrikamFiberCollection /p:FabrikamFiber /f:C:\Users\Julia\Desktop\ChangedTemplates\processconfig.xml
 
Now go to task board or Task work item

 


0 comments:

Post a Comment