Is there a way to add tags programmatically to TFS Work Items?

荒凉一梦 提交于 2020-01-23 17:38:38

问题


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?

Best,

Michael


回答1:


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.

As mentioned by Brian Harry:

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):

  • ...
  • Object model & REST API support – We added support to access/set tags in the object model and also exposed REST APIs.
  • ...


来源:https://stackoverflow.com/questions/24912054/is-there-a-way-to-add-tags-programmatically-to-tfs-work-items

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!