tfs2013 - exportprocessconfig produces invalid xml

811 Views Asked by At

TFS2013 Edit: Additional info as per comment: I'm trying to add a "blocked" swim lane to my task board. So as per instructions I run:

witadmin.exe exportprocessconfig /collection:http://{my collection} /p:{my project} /f:config.xml

It generates the XML as expected If I immediately run (without editing the xml):

witadmin.exe importprocessconfig /collection:http://{my collection} /p:{my project} /f:config.xml /v

I get:

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

So basically the XML generated by witadmin exportprocessconfig is invalid?!

1

There are 1 best solutions below

1
On

exportprocessconfig creates a BROKEN xml file (according to importprocessconfig /v) I amended line 3 from:

     <BugWorkItems category="Microsoft.BugCategory" singularName="Bug">

To:

     <BugWorkItems category="Microsoft.BugCategory" singularName="Bug" pluralName="Bugs">

then carried out my own changes and it worked. Kinda sucks that the export is not compatible with the import on the same tool.