Azure DevOps API - 检索全局列表 [英] Azure DevOps API - Retrieve global lists

查看:37
本文介绍了Azure DevOps API - 检索全局列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前使用的是本地 TFS 2018 安装,并且有几个自定义应用程序使用 Microsoft.TeamFoundationServer.ExtendedClient 来与 TFS 通信.现在,由于扩展客户端中的某些程序集将被弃用 (link) 和迁移到 Azure DevOps 服务的可能性,我已经开始检查替换 (link)

We are currently using an on premise TFS 2018 installation and there are a couple of custom applications that use the Microsoft.TeamFoundationServer.ExtendedClient in order to communicate with TFS. Now since some assemblies in the extended client are going to be deprecated (link) and a move to Azure DevOps services is a possibility I have started checking the replacement (link)

在我们当前的实现中,我们使用的是全局列表,并且extendedClient WorkItemStore 有方便的ExportGlobalLists/ImportGlobalLists 方法

In our current implementation we are using global lists and extendedClient WorkItemStore had the ExportGlobalLists/ImportGlobalLists methods that were handy

问题是我在新客户端中找不到等效的方法

The problem is that I cannot find an equivalent method in the new client

  • witadmin 是唯一的选择吗?
  • 我在 REST API(link) 但它似乎不适用于本地,所以我可以测试一下
  • is witadmin the only option?
  • I have found this in the REST API (link) but it doesn't seem to work for on-premise so I could test it out

欢迎任何想法

推荐答案

根据本案的评论:

https://developercommunity.visualstudio.com/content/problem/312980/cannot-edit-existing-global-lists.html?childToView=338672#comment-338672

全局列表现在是特定工作项的一部分.编辑列表你应该 1) 导出过程 2) 查看工作的 xml项目.全局列表通常添加到 bug 或任务机智 3) makexml 中的全局列表更改 4) 压缩进程并导入回到 Azure DevOps.

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.

这篇关于Azure DevOps API - 检索全局列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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