Thursday, July 3, 2014

Team Foundation Server 2013 - witadmin.exe exportprocessconfig issues

By using the witadmin exportprocessconfig command, you can export the TFS process configuration XML and adapt it to your needs. Afterwards you can upload it again by using the corresponding witadmin importprocessconfig command.

witadmin.exe exportprocessconfig /collection:http://tfs:8080/tfs/defaultcollection /p:sampleproject /f:processconfig.xml

The thing I noticed that I wasn’t able to upload this XML file again. Even when I changed nothing it did not work. Instead I got the following error:

Line: 3 Position: 4 - The required attribute `pluralName` is missing.

The exportprocessconfig command generates incorrect XML. To fix this you have to add the missing attributes yourself.

Anyone who knows if a fix already exists?

1 comment:

sreenuvas said...

please search for singularName in exported processConfiguration.xml and add pluralName value where ever it is missing