How to Customize a Work Item Type Within an Existing Team Project

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

You have two options for editing an existing work item type: you can use the command line or you can use the Process Template Editor tool, available as part of the TFS Power Tool.

To edit a work item type from the command line, use the witexport and witimport tools available at, “%programfiles%\Program Files\Microsoft Visual Studio 8\Common7\IDE” on a computer with Team Explorer installed.

To export the work item type from the project, edit it, and re-import the type
  • Run witexport as follows to export the work item type:

witexport /f task.xml /t http://TFSServer:8080 /p MyTeamProject /n Task
  • Edit the work item type definition.
  • Run witimport as follows to import the changed type:

witimport /f task.xml /t http://TFSServer:8080 /p MyTeamProject

The preceding command line shows how to export the Task work item type from the MyTeamProject project to a server named TFSServer.

To edit a work item type by using the Process Template Editor tool:
  1. Export the work item type you want to edit as follows:
    1. In Visual Studio, on the Team menu, select Process Editor and then click Work Item Types and then select Export WIT.
    2. In the Connect to Team Foundation Server dialog box, enter the URL of your server.
    3. In the Select Work Item Type dialog box, choose the work item type you want to export.
    4. Save the work item type.
    5. Save any global lists you also want to edit.
    6. Edit the work item type and then save your edits.
  2. Import the edited work item type as follows:
  3. In Visual Studio, on the Team menu, select Process Editor and then click* Work Item Types* and then select Import WIT.
  4. In the Connect to Team Foundation Server dialog box, enter the URL of your server.
  5. In the Import Work Item Type dialog box, browse to the edited work item type and then choose the team project into which you want to import the changed work item type.
  6. Click OK to import the new work item type definition.

Additional Resources

Last edited Jul 25, 2007 at 11:14 AM by prashantbansode, version 1

Comments

No comments yet.