多项目到单个项目-如何重新建立MTM层次结构? [英] Multi Project to Single Project - how do I re-establish the MTM Hierarchy?

查看:84
本文介绍了多项目到单个项目-如何重新建立MTM层次结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的组织正在将TFS从多项目模型重新设计为单个项目模型.我们已经进行了几次虚拟运行以迁移WITS,并且所有WITS都可以使用,但不是Test层次结构.有计划,套件和测试,但没有 他们彼此之间的关系.做到这一点的最佳方法是什么?

Our organisation is re-designing TFS from a multi-project model to a single project model.  We've done a few dummy runs to migrate the WITS and all the WITS are coming across but not the Test hierarchy.  Plans, Suites and Tests are there but not their relationship to one another.  What is the best way to accomplish this?

推荐答案

JulietteD,

Hi JulietteD,

对于此要求,我建议您可以通过tcm命令行来实现.

For this requirement, I suggest that you could achieve that through tcm command line.

tcm suites /clone     
   /collection:http://Server:8080/tfs/Collection 
   /teamproject:"TeamProject"
   [/destinationteamproject: "DestinationProject"]
   /suiteid:sourceId 
   /destinationsuiteid:targetId 
   [/clonerequirements] 
   [/overridefield:"field name"="new value"] [/overridefield:"field 2"="value 2" ...]] 

更多信息,请参阅:

#复制和克隆测试套件和测试用例

https://msdn.microsoft.com/en-us/library/hh543843.aspx?f = 255& MSPPError = -2147217396

致谢

Starain


这篇关于多项目到单个项目-如何重新建立MTM层次结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆