4

我刚刚从 TFS 2010 迁移到 TFS 2012 RC。

由于内置的​​升级功能,我还更新了我的团队项目到 MSF Agile 6,但我想使用 SCRUM 模板而不是使用 MSF Agile。

我还没有找到实现这一目标的方法。

您对如何做到这一点有任何想法,还是我坚持 MSF 敏捷流程?

4

2 回答 2

10

You can fully move from one process template to another.

I have detailed 7 ways to achieve this with all of the pros and cons in a blog post:

Now you, I think are looking at #7 as an in-place move from MSF Agile to the Visual Studio Scrum Template. If you follow the instructions for #7 by renaming Work Items and importing new ones then you should be good. I am doing this for a customer today and I have actioned it a number of times and it works well.

Depending on how you decide to do this there is some data loss. You can't get away with from that whatever you do, but this minimises that loss and allows you to fully move over to the new Process Template. Make sure that you add all of the fields that do not exist in the old template and you may want to then rename those old fields with some tag so that you can find them later...

Here is a clean (and most recent) Agile (whatever version) to Visual Studio 2.0 script. Make sure you read the blog posts as well as they define what you are trying to achieve with each step.

SET TP="Mt=yTeamProject"
SET COLLECTION="http://myTFSServer:8080/tfs/myCollection"
SET PTROOT=C:\temp\Microsoft Visual Studio Scrum 2.0

witadmin listwitd /collection:%COLLECTION% /p:%TP%
witadmin renamewitd /collection:%COLLECTION% /p:%TP% /n:"User Story" /new:"Product Backlog Item"
witadmin renamewitd /collection:%COLLECTION% /p:%TP% /n:"Issue" /new:"Impediment"

witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\Bug.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\CodeReviewRequest.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\CodeReviewResponse.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\FeedbackRequest.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\FeedbackResponse.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\Impediment.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\SharedStep.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\ProductBacklogItem.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\Task.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\ProductBacklogItem.xml"
witadmin importwitd /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\TypeDefinitions\TestCase.xml"

witadmin importcategories /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\Categories.xml"
witadmin importcommonprocessconfig /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\Process\CommonConfiguration.xml"
witadmin importagileprocessconfig /collection:%COLLECTION% /p:%TP% /f:"%PTROOT%\WorkItem Tracking\Process\AgileConfiguration.xml"

tfpt addprojectreports  /collection:%COLLECTION% /teamproject:%TP% /processtemplate:"Visual Studio Scrum 2.0"

This script is used at your own risk and should only be used against a test server until you are satisfied that you have a working process.

There is also a built in feature in 2012 and 2013 to 'enable the new features' that injects what is needed to make your process template work.

于 2012-12-19T14:38:15.717 回答
-1

这可以通过TFS 集成工具包实现。请查看此SO 线程以获取更多信息。

于 2012-09-27T16:54:23.913 回答