如何将工作项目从一个组织转移到另一个组织 [英] How do I move Work Items from one organization to another

查看:330
本文介绍了如何将工作项目从一个组织转移到另一个组织的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在一个项目中有许多工作项.现在,我们的业务部门中还有另一个组织,我们希望将所有现有工作项目从旧组织(项目)移至新组织.该怎么办?

We have a number of Work Items in a project. Now, there is another organization in our devops and we wish to move all our existing Work Items from the old organization (project) to the new one. How can this be done?

我见过人们

I've seen people discussing this before, and some comments saying "we use excel". But no information about how to actually do this.

推荐答案

对此没有内置解决方案.对于Excel,有一个技巧可以做到尽力而为的迁移,您需要做一些松散的事情.

There is no built-in solution for this. For Excel there is a trick that does a best-effort migration, you do loose some things.

  • 在Azure DevOps中创建一个基于树的查询,其中包含您要迁移的所有工作项
  • 打开Excel
  • 使用团队标签引入要迁移的工作项
  • 点击新列表并连接到源组织
  • 选择您在第一步中创建的工作项目查询
  • 点击选择列并添加所有列
  • Create a Tree based query in Azure DevOps that has all the work items you want to migrate
  • Open Excel
  • Use the Team tab to pull in the work items you want to migrate
  • Click New List and connect to the source organization
  • Select the Work Item Query you created in the first step
  • Click Choose Columns and add all columns

您现在将要导入的数据保存在一个excel文件中.创建一个新的Excel文件,将数据推送到另一个帐户:

You now have the data you want to import in one excel file. Create a new excel file to push the data to the other account:

  • 打开Excel
  • 使用团队标签拉出工作项
  • 点击新列表并连接到目标组织
  • 选择输入列表,这样您就不必受限于查询
  • 点击选择列,然后以相同的顺序选择所有相同的列
  • 点击添加树级并转换为父级子级
  • 重复添加树级别以匹配源excel的深度
  • 将所有字段从源复制到目标Excel文件
  • 清除目标Excel文件中的ID列
  • 修复出现的问题(用户名,区域路径,项目名称等)
  • 命中发布以在目标组织中创建工作项.
  • Open Excel
  • Use the Team tab to pull the work items
  • Click New List and connect to the target organisation
  • Select the Input List so you're not bound to a query
  • Click Choose Columns and select all the same columns in the same order
  • Click Add tree level and convert to parent child
  • Repeat Add tree level to match the depth of the source excel
  • Copy all the fields from source to target excel file
  • CLEAR THE ID COLUMN ON THE TARGET EXCEL FILE
  • Fix issues that appear (usernames, area paths, project name etc)
  • Hit Publish to create the work items in the target organisation.

丢失了什么

您将放松以下内容:

  • HTML格式
  • 附件
  • 亲子链接以外的链接
  • 某些日期将重置(创建日期,...)
  • 某些流程工作流可能会阻止以正确状态创建工作项
  • 自定义板列
  • 工作项的修订

诸如Martin Hinshelwoods Migration Tools之类的工具可以将工作项历史记录从一个帐户重播到另一个帐户.更新所有配置需要花费一些精力,但是在复制工作项方面会做得更好.

There are tools like Martin Hinshelwoods Migration Tools that can replay work item history from one account to another. It takes a bit of effort to update all the configurations, but it will do a much better job at copying your work items over.

请参阅:

  • https://marketplace.visualstudio.com/items?itemName=nkdagility.vsts-sync-migration
  • https://dev.azure.com/nkdagility/migration-tools/_wiki/wikis/docs?wikiVersion=GBmaster&pagePath=%2Fgetting%20started&pageId=5

这篇关于如何将工作项目从一个组织转移到另一个组织的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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