将带有历史记录和附件的错误转移到新项目中 [英] Move bugs with history and attachments to a new project

查看:100
本文介绍了将带有历史记录和附件的错误转移到新项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在TFS 2015中有两个要合并的项目,它们都在同一个项目集合中.

We have 2 projects in TFS 2015 that we want to merge, both are in the same project collection.

我想从项目B中导出带有历史记录和附件的错误,并将其导入到项目A中.

I would like to export the bugs from project B with history and attachments and import them into Project A.

我还想将带有结果的测试计划从项目B导出到项目A.我认为错误可能比测试计划和结果更容易.

I would also like to export the Test plans with Outcomes from Project B into Project A. I'm thinking the Bugs may be easier than Test Plans and results.

有什么想法吗?

推荐答案

在TFS 2015中,要导入工作记录而没有历史记录,可以创建查询以及通过Excel导出和导入.参见

In TFS 2015, to import work item without history, you can create query and export and import via Excel. See Migrating TFS Work Items from one project to another using Excel.

要迁移工作项注释,链接和附件,您可以参考

To migrate Work Item Comments, Links and Attachments you can reference this article.

如果要导出和导入具有历史记录的工作项,则可能必须使用TFS API.

If you want to export and import work item with history you may have to use TFS API.

请按照以下步骤操作:

  • 使用TFS API以编程方式获取工作项详细信息
  • 使用TFS API以编程方式获取工作项目修订历史"

参考以下有关使用TFS API的文章:

Reference below articles on using the TFS API:

  • TFS SDK: Work Item History Visualizer using TFS API
  • TFS API : TFS Work Item All Changes History

另一个解决方法是升级到TFS 2017或更高版本,那么您可以

Another workaround is upgrading to TFS 2017 or later version, then you can Copy or clone a work item from one project to another with the history,links and attachments etc.

这篇关于将带有历史记录和附件的错误转移到新项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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