visual-studio-2015 - 将全局列表导入 Azure DevOps 托管 XML 流程模板

标签 visual-studio-2015 tfs visual-studio-2017 azure-devops devops

我为客户执行了 TFS 到 Azure DevOps (VSTS) 的迁移。
目标流程模板是一个托管 XML 流程模板。
根据微软的文档,可以将全局列表导入到组织(集合),但是当尝试通过 Witadmin 导入时(使用 VS15 和 VS17 中的工具尝试),操作失败并出现以下错误:

Server was unable to process request. ---> VS1640129: The collection you are targeting uses inheritance process model. This operation is not allowed on an inheritance process model based collection. Please refer to https://go.microsoft.com/fwlink/?linkid=849010 or contact your system administrator for help.



我没有使用继承过程模型!

All processes window in Azure DevOps web access

命令 :

witadmin importgloballist /collection:https://collectionName.visualstudio.com /f:"C:\GloballistFolder\GlobalList.xml"



想法?

最佳答案

我在评论中找到了微软的回复 on this post .

Global lists are now part of a specific work item. To edit the list you should 1) export the process 2) look into the xml for the work items. Global lists are usually added to the bug or task wit 3) make the global list changes in the xml 4) zip up the process and import back into Azure DevOps.



所以看起来我们不应该再使用 witadmin.exe用于导出和导入全局列表的工具,而是通过 Web 门户导出整个流程(从组织设置 -> 流程页面),修改您感兴趣的工作项类型定义,并通过网络门户。

看起来 Azure DevOps API 支持 exporting and importing the process模板也是如此,如果您想部分自动化该过程。

关于visual-studio-2015 - 将全局列表导入 Azure DevOps 托管 XML 流程模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53268163/

相关文章:

c++ - 使用 CodeSynthesis XSD 编译有效的 XML 模式失败并出现错误 MSB3721

asp.net - 在 ASP.NET 5 (vNext) 中使用 "Produce outputs on build"会出现 "Illegal characters in path"构建错误

visual-studio-2015 - 从TFS构建中使用Visual Studio编译时的"The license for Visual Studio has expired."

asp.net-core - VS2017 RC 2 csproj文件位置

c++ - 在 UWP Visual Studio 项目中包含外部文件夹

c# - 作为特定用户对 TFS 工作项进行更改

tfs - 构建失败时通知

c# - Windows 卷问题上的 Visual Studio 2017 Docker 项目

windows - 找不到 Visual Studio 2017 依赖的 .dll

nunit - 如何使用 Visual Studio 2015 CTP 6 运行 NUnit 测试?