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:
- Open Visual Studio 2008 go to the Team menu
- Go to Team Foundation Server Settings
- Go to Process Template Manager
- Download the Process Template Manager at any location on your hard drive
- Under Process Template Folder Go to WorkItem Tracking
- Under WorkItem Tracking folder go to TypeDefinitions Folder
- Edit the Respective XML File (In my case I was editing the file task.xml)
- Add new discipline items or edit any existing and enter the under given command on your command prompt
- 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.