How to add a new discipline item in visual studio team foundation server 2008 project

Adding a new discipline item in visual studio team foundation server is just a matter of simple command but if you are newbie and don’t have any idea about visual studio team foundation server than I hope this article will help you to add a new discipline item or even edit an existing one. I assume that you have installed visual studio team foundation server 2008 or 2005 already and configured a team project, if not please refer to the installation guide given on MSDN. Steps are given as under to add a new discipline item:

  1. Open Visual Studio 2008 go to the Team menu
    vstfs discipline
  2. Go to Team Foundation Server Settings
  3. Go to Process Template Manager
  4. Download the Process Template Manager at any location on your hard drive
  5. Under Process Template Folder Go to WorkItem Tracking
  6. Under WorkItem Tracking folder go to TypeDefinitions Folder
  7. Edit the Respective XML File (In my case I was editing the file task.xml)
  8. Add new discipline items or edit any existing and enter the under given command on your command prompt
  9. U:>"E:Program FilesMicrosoft Visual Studio 9.0Common7IDEwitimport.exe" /f
    "E:Documents and SettingsitoperationzMy DocumentsMSF for Agile Software Development –
    v4.2WorkItem TrackingTypeDefinitionstask.xml" /t http://itoperationz:8080 /p itoperations

Note: Edit the command according to your path and project name along with server URL and port

Note:

/f        Specifies the work item type XML definition file to be imported.
/t        Specifies the name of the Team Foundation Server. This can also be a
          fully specified URL such as http://server:8080.
/p        Specifies the Team Project on the Team Foundation Server to which the
          file is imported.

Leave a Comment

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