What happened to witexport.exe and witimport.exe in Team Foundation Server 2010? How do I edit work items in TFS2010?

by

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:

  • changefield
  • deactivatelinktype
  • deletefield
  • deletelinktype
  • destroygloballist
  • destroywi
  • destroywitd
  • exportcategories
  • exportgloballist
  • exportlinktype
  • exportwitd
  • help
  • importcategories
  • importgloballist
  • importlinktype
  • importwitd
  • indexfield
  • listfields
  • listgloballist
  • listlinktypes
  • listwitd
  • reactivatelinktype
  • rebuildcache
  • renamewitd

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.

-Ben

 

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 – info@benday.com


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.