I installed TFS 2018 on the premises and I migrated 2 project collections from a TFS 2012 server. I have a hard time finding the page/dialog where I can assign different colors to the work items states. For the previous versions, MS provided visual studio extensions: Process Templates Editor, TFS 2015 Power Tools. I use VS 2022. I haven't been able to find an extension for editing these lists that would work with VS 2022 and TFS 2018.
Can you please tell me how can I assign different colors to the work items states, and where I can customize the list?
TIA
Currently there is no such an extension (Process Templates Editor) for VS 2022.
However, we can export the work item type and process definition files using witadmin tool, then customize it with a txt editor, then import the changed files back to your project.
To run the
witadmincommand-line tool, open a Command Prompt window where Visual Studio is installed. Thewitadmincommand-line tool installs with any version of Visual Studio.For Visual Studio 2022, it's under the following path:
or
ProfessionalorEnterprisein place of Community, depending on the version you've installed.StateColorsto define the colors. See Specify properties and behaviors. Below steps for your reference:witadmin exportprocessconfig /collection:http://servername:8080/tfs/DefaultCollection /p:YourProjectName /f:E:\temp\ProcessConfiguration.xmlOpen the
ProcessConfiguration.xmlwith text editor, add propertyStateColorsto define the state colors underPropertiesblock, save the changes.Import the process configuration definition back to your project:
witadmin importprocessconfig /collection:http://servername:8080/tfs/DefaultCollection /p:YourProjectName /f:E:\temp\ProcessConfiguration.xmlCheck the state colors:
Test" state forTaskwork item type for example here)1.Export the Task work item type:
2.Open the exported
Task.xmlfile with text editor and add a new stateTestunder witd > WORKITEMTYPE > WORKFLOW > STATES:3.Modify the transitions to go through the new state (Add the transitions as needed, from ="In Progress" to="Test" for example here):
4.Import the Task definition file:
5.Check the state list.