Process Template change

I want to remove a few workitems I do not use in my process template.

For example. I have no reason to create a "risk" workitem.

I know that if you alter this xml. And remove the entries for the workitemtype that you don't want created it will work fine for any new project created using this template. (see xml below).

However I don't want to create a new project, we only use one project. Is there a way I can remove the ability to create certain workitem, ie "risk" in an existing project? It should no longer appear when you right click on workitems and choose "Add work item"

from ProcessTemplate.xml

<task

id="WITs"

name="WorkItemType definitions"

plugin="Microsoft.ProjectCreationWizard.WorkItemTracking"

completionMessage="WorkItemTypes created"

completionDescription = "Processing work item types used by work item tracking">

<taskXml>

<WORKITEMTYPES>

<WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Bug.xml"/>

<WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Task.xml"/>

<WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Qos.xml"/>

<WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Scenario.xml"/>

<WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Risk.xml"/>

</WORKITEMTYPES>

</taskXml>

</task>

[1466 byte] By [mpetanovitch] at [2007-12-31]
# 1

I doubt you can deleet work-item types for an existing project.

You can customize the process template for a new project but it will not affect the existing project.

Thanks.

MadhukarChaubey at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 2

Hi,

Whatever Madhukar Chaubey says is correct. Since there is no way deleting the workitem type..if you want to reflect the changes the way it behaves is ....after making changes you can upload the new process templates and this will affect the NEXT PROJECT that you are creating not the existing project.

Hope this helps,

Thanks,
Kathir

Kathirvel at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 3
Thanks for the reply, I was afraid there wouldn't be a way to do this to an existing project.
mpetanovitch at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 5

Hi Mpetanovitch:
You can customize work item types on a single project by using command-line tools. In this case, your changes affect the way people work in that project, but they do not affect other projects, existing, or yet to be created.

Team Foundation Server includes five command-line utilities to help you in administering and authoring work item types. These command-line tools are used to customize work item types on existing projects, and the changes that were made using these tools only affect the current project.

Here are some brief steps about how to do:
1. Export a work item type definition from an existing project. It is mentioned at http://msdn2.microsoft.com/en-us/library/ms404856(VS.80).aspx
2. Edit the work item type definition. The work item type content definition can be found at http://msdn2.microsoft.com/en-us/library/ms194950(VS.80).aspx
3. Import the revised work item type definition in step 2 into the project. It is mentioned at http://msdn2.microsoft.com/en-us/library/ms404866(VS.80).aspx

Here is the useful link : http://msdn2.microsoft.com/en-us/library/ms404865(VS.80).aspx (Customizing Work Item Types on an Existing Project ).

Here is the issue about how to use command-line tools in TFS : http://msdn2.microsoft.com/en-us/library/ms253088(VS.80).aspx (Using Team Foundation Server Command-Line Tools ).

Good luck.

HuaChen-MSFT at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 6

Thanks Hua,

I am aware of these command line tools however what I'm trying to achieve is to remove a work item type template from an existing project. Its easy to add a template, however what if you want to remove one..i don't see a way of doing it.

mpetanovitch at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 7

Dear mpetanovitch:
Thank you for your reply about my post. I have clearly known your requirement now. I am sorry for my last post.
By now there isn’t be a way to remove an existing work item type from a team project which is already created on the server. There are only ways to edit the existing work item or add new work item to an existing team project.

If your team project has not created many useful work item here is a suggestion for getting rid of a work item.
1. Create a customized process template without the item you don’t want.
2. Create a new team project using the customized template.
3. Migrate the source code from old team project to the new one.
4. Work on the new team project.
5. You can manually add the work items in the new project.

If your team project has created many useful work item such as task, scenario and so on. There isn’t a reliable way to bring them to new team project.
Good Luck.

HuaChen-MSFT at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 8
Ouch, this isnt advised actually from what I read. The import of SC to another project does not retain history on the SC items that exist already. Someone correct me if Im wrong.
milesmarc at 2007-9-6 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...

Visual Studio Team System

Site Classified