Remove Work Items from template

When i create a new project based on the Agile process template, i get a list of about 15 work items. I don't want these work items in the project every time i load them. I don't consider them part of the project itself.

Since you can't delete them once they are created (i know/understand the reasons) is there any way to delete them from the template first, so when new projects are created, i don't have to go through and close all of them?

Thanks

[465 byte] By [TimMulholland] at [2008-2-11]
# 1

Hello Tim,

Yes, you can delete them from the process template and any new projects created will not have these work items. After you download the process template from the server, go to the WorkItem Tracking/workitems.xml file and delete the tasks that you don't use. Then save the xml file and upload the process template back to the server. You can choose to upload this as a new template (be sure to change the name in the processtemplate.xml file) or rewrite the original template.

Let me know how it goes.

YogitaManghnani at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...
# 2
I'm relatively new to all of the TFS stuff. Could you provide me with just a little more detail?
Where exactly do I find those xml files? I'm just using the Agile template that came with it.

Thanks!

TimMulholland at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...
# 3

Tim,

  1. In the Team Explorer, right click and select Team Foundation Server Settings -> Process Template Manager.
  2. In the window that opens up, select the process template you want to customize and click Download. Save the template on your drive.
  3. Open the folder where you stored the template and browse to MSF Agile Software Development Template\WorkItem Tracking.
  4. Open the file WorkItems.xml - scroll down and you would find the work item definitions here in the <WORKITEMS> tag. Delete the items you do not need and save the file.
  5. Open the file MSF Agile Software Development Template\ProcessTemplate.xml and change the contents of the <name> tag to something like My Template. THIS STEP IS IMPORTANT SINCE IF YOU DONT RENAME YOUR TEMPLATE, VSTS WOULD OVERWRITE ANY EXISTING TEMPLATES WITH THE SAME NAME.
  6. Open the Process Template Manager again and click on Upload. Browse to the folder you saved the template at and click Upload.
  7. VSTS validates your new template and uploads it into the system. You should see the name of your template in the Process Template Manager now.
  8. Create a new project based on this template and you will not get the predefined work items.

Hope this helps.

Rahul Ohri

RahulOhri at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...

Visual Studio Team System

Site Classified