Customizing Work Item Types in Team Foundation Server

TFS provides with several command line utilities which deals with Work Item Types. These tools are used to make changes to existing Work Item Types. Two of the most important tools are witexport and witimport tools.

witexport – exports Work Item Type into XML file for editing. We can work with it as with any XML File making changes and saving those changes to the file. In order to open this tool we need to type into VS 2005 Command Prompt following command line code
witexport /f " File Path " /t " Team Foundation Server name " /p " Team Project name " /n " Work Item Type name "

If export was a success, you will see “Work item type export complete”

witimport – helps us to import XML file that defines Work Item Type back into TFS. In order to do that we need to open VS 2005 Command Prompt window and type following command line code
witimport /f " File Path " /t " Team Foundation Server name " /p " Team Project name "

If Work Item Type was uploaded successfully, you will see the following message “Work item type import complete.”

In order to reflect our recent update to Work Item Type, we need to refresh Team Explorer and initiate creation of the new Work Item from the Team Project. We should see our most recent update to a Work Item Type.

Featured pages

SharePoint Integration

Windows SharePoint Services is an integral part of Team Foundation Server. As a result, there is v…

Creating Team Project

Team Foundation Server allows creation of the portal project via TFS Portal Creation Wizard. This …

SQL Server Agent Jobs

Team Foundation Server installs several SQL Server Agent Jobs that allow it to perform certain tas…

tf Command

tf Command line utility provide many useful operations that we can perform with Team Foundation Se…

Shelving and Unshelving

Shelving is very powerful feature of the Source Control in VSTS that allows storing pending change…

MS Project Fields Mapping

TFS works with MS Project via mapping file with specific fields mapped from one application to ano…

Using MS Project with Team Foundation Server

MS Projects allows accessing Team Foundation Server and working with the TFS Work Items. This is a…

Managing Documents in TFS

Team Foundation Server provides us with the capability to manage various documents, also called ar…