有没有办法以编程方式将标签添加到 TFS 工作项? [英] Is there a way to add tags programmatically to TFS Work Items?

查看:29
本文介绍了有没有办法以编程方式将标签添加到 TFS 工作项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够以编程方式批量更新带有特定标签的工作项.目前有没有办法做到这一点?我检查了工作项类,发现有一个标签属性是只读的.有没有另一种方法可以通过代码来实现这一点?

I want to be able to mass update work items with a certain tag programmatically. Is there currently a way to do this? I've checked the workitem class and have seen that there is a tags property that is readonly. Is there another way to accomplish this through code?

最好,

迈克尔

推荐答案

从 2013.2 开始支持通过 API 和 Excel 编辑标签.我建议您更新到最新版本的 TFS 以获得该版本和其他修复程序.

Editing of Tags through the API and Excel is supported as of 2013.2. I would recommend that you update to the latest version of TFS to get that and tones of other fixes.

作为 Brian Harry 提到:

在 TFS 2012.2 中,我们引入了轻量级工作项标记来轻松分类和查找工作项.我们普遍获得了对该功能的良好反馈,但也有大量的增强请求.以下是我们在此版本(即 2013.2)中添加的一些内容:

Work Item Tagging

In TFS 2012.2, we introduced lightweight work item tagging to easily categorize and find work items. We’ve generally gotten good feedback on the feature but plenty of requests for enhancements. Here’s some things we are adding in this release (thus 2013.2):

  • ...
  • 对象模型和REST API 支持 - 我们添加了对对象模型中访问/设置标签的支持,还公开了 REST API.
  • ...

这篇关于有没有办法以编程方式将标签添加到 TFS 工作项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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