HOWTO: Edit the Workflow of a Work Item Type on an Existing TFS Project Using Visual Studio 2008

To edit the TFS workflow for a work item on an exiting project, follow these steps:

  1. Open the Visual Studio 2008 Command Prompt
  2. Type the following

    witexport /f “Local File Name.xml” /t “TFS_Server_Name” /p “Project name” /n “Work Item Type name”

  3. If you haven’t done so already, install the TFS Power tools
  4. Open Visual Studio 2008
  5. On the Tools menu, select the Process Editor -> Open WIT From File option
  6. Browse to the “Local File Name.xml” file that you exported in step 2
  7. Edit the workflow as required and save your changes
  8. Switch back to you Visual Studio 2008 Command Prompt
  9. Type the following

    witimport /f “Local File Name.xml” /t “TFS_Server_Name” /p “Project name”

  10. Assuming the command prompt reports “Work item type import complete.” everything should have worked.