How do I change the process template in which a project was created?

I have multiple projects that were created during the beta with differing templates.

Project1: CMMI

Project2: Agile

... etc

Now that we evaluated the templates, I would like to change the existing projects to use a new template, that may or may not be customized, and may be a third party template. What are the steps to change the templates? If the answer is no, I can deal with loosing work item history but not source control history, how about now?

Thank You,

David Burrell

SunGard

[542 byte] By [CoachDavid] at [2008-1-25]
# 1

hi,

As I konw, the anwser is yes.

But the precondition is the new template must contaions all fields which defined in the old template, and every fields in new template can accept all <LISTITEM value="" /> of the corresponding field in old template.

Also, you can drag the "witimport.exe" which under the folder (...\Microsoft Visual Studio 8\Common7\IDE) to the cmd window to change the template.

edwardzhou at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 2

Unfortunately there is no way to wholesale change the process template a project is using. You can do a couple of things. If all you care about is the work item types, you could WITExport the ones you want and import them into existing projects.

If you really want a pristine project, I'd recommend creating a new one and branching the source code from the old one.

Brian

BrianHarry at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 3

Related to this, is there a way to just remove a specific WorkItem type from the project? Say in an 'Agile' project, I want to remove the QoS Requirement type, how could I go about doing this?

Thanks,
~Joe

JoePD at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 4

You could modify the process template to remove the reference and definition of the QoS work item type. Edit the workitems.xml to delete the line

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

and then delete the actual file QoS.xml from the TypeDefinitions folder.

Once modified, upload this template to the TFS server (either with the same name or different).

Any new projects you create based on this modified template will not include this work item type.

YogitaManghnani at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 5

Can this be done to a project that is already created? Do I have to reimport the Process TEmplate? How does this affect WorkItems that have already been created with this type?

~Joe

JoePD at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 6

Deleting work item types from existing projects isn't something we support natively in V1.0. Your old projects will continue to have the work item type and work items if you modify and re-upload the template to create new projects.

You could add modify the definition of the work item type to add a first state like invalid which would tell users that they can't create work items of that type, however existing work items will remain unaffected.

I realize that this may not be what you're looking for but we are discussing adding support to delete work item types in our next release.

YogitaManghnani at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 7

Yogita,

Thank you for your responses! I understand that deleting types on existing projects is a very difficult operation and that it isn't supported. Hopefully a decent solution can be found.

Suppose I create a new project with the Process Template exactly how I want it. Is there a way to move work items (either one by one or in bulk) from one project to another such that they don't lose their history? I assume this is a very difficult problem as well, but this would almost support a work around for this problem.

Thanks!
~Joe

JoePD at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 8

You can use Excel to bulk transfer the work items into another Project, but it doesn't retain the history and links information

Check out the following post on you can use the SDK sample:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=118065&SiteID=1

Another option is:

http://blogs.msdn.com/ericlee/archive/2005/12/21/506593.aspx

Good luck!

YogitaManghnani at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...
# 9

I tried using Excel to migrate the workitem from one project to another, with no success. The new project type is so unlike the agile or cmmi project types that I have to hand manipulate the work items.

I am attempting to move my projects to the Scrum Template.

CoachDavid at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Process Templates...

Visual Studio Team System

Site Classified