I went to do some work item customizations for a customer’s Team Foundation Server 2010 this morning. When I was done making my edits to the work item template XML, I went looking for witimport.exe. In TFS2008, WitImport is the utility that uploads work item template definitions (aka WIT Definitions or WITD’s) to TFS.
Well, in TFS2010, it isn’t there anymore. It’s been replaced with WitAdmin.exe. It’s located in either “C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDE” or “C:Program FilesMicrosoft Visual Studio 10.0Common7IDE” depending on your operating system version.
It has a number of sub-commands:
TFS2008’s WitExport.exe and WitImport.exe have been replaced by “witadmin exportwitd” and “witadmin importwitd”.
Here’s an example of the syntax for uploading an updated Bug work item to a TFS2010 machine:
witadmin importwitd /collection:http://your_server_name:8080/tfs/DefaultCollection /p:TeamProjectName /f:bug.xml
Hope this helps.
— Looking for help with your new TFS2010 installation? Need some customization done? Want some mentoring or guidance on how to use Scrum with TFS2010? Drop us a line – email@example.com
Leave a Reply