• Home
  • About

Perigee Consulting Blog

Focus. Value. Results

Feeds:
Posts
Comments
« Build and Deployment with TFS
Files Required to use Oracle SQL Plus »

Updating a TFS Work item template with WITIMPORT command

April 8, 2010 by Jim Brown

Modifying the Template

Work item templates can be made fairly easily by modifying the associated XML files.

You can retrieve the files by going to the Team Menu, Team Foundation Server Settings Menu, and selecting Process Template Manager… menu item to display the Process Template Manager Dialog box shown below:

Select the process template you would like to modify and select “Download”. You are then prompted to select the directory where you want to download the files. The file structure of the template is shown below:

There is an xml file with the definition of each type of work item.

The work item definition files have sections for definition of the work item data, state workflow tracking, and descriptions for the fields where the data is stored.

You can use Visual Studio to edit the fields, layout, and workflow definition of each item. Or, you can work directly with the XML file.

Updating the template of an existing project

You can simply upload the revised template, using the same name or a different name to TFS using the Process Template Manager, but your changes will only show up for new Team Projects that use that template. This is typically not that useful of a feature, as one doesn’t create new Team projects very often. It is often better to import the template changes into an existing project. To do this, you can use the witimport command line utility.

The witimport command can be found in the C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE directory.

The command line arguments are pretty straight forward:

witimport /f filepath /t tfs /p teamproject [/v] [/e encodingname]

Details on this utility can be found here: http://msdn.microsoft.com/en-us/library/ms253163.aspx

Advertisement

Like this:

Like
Be the first to like this post.

Posted in Uncategorized | Tagged TFS, witimport | Leave a Comment

  • Archives

    • November 2010 (1)
    • April 2010 (3)
    • June 2009 (4)
    • April 2009 (6)
    • March 2009 (7)
    • January 2009 (7)
    • October 2008 (1)
    • March 2007 (1)
  • Categories

    • Agile Development Techniques (3)
    • Agile Project Management (2)
    • Scrum (4)
    • Software Development (13)
    • Structured Analysis and Decision Making (3)
    • Team System (2)
    • Uncategorized (9)
    • Visual Studio (2)
  • Pages

    • About

Blog at WordPress.com.

Theme: MistyLook by Sadish.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com