获取scrum流程项目的工作项状态 [英] Get the work item states for the scrum process project

查看:76
本文介绍了获取scrum流程项目的工作项状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,


 我想更新工作项的状态,在此之前我想获取工作项状态列表,当用户选择我想要更新工作项状态的特定状态时,我想在下拉列表中显示这些状态。


请帮助我如何通过vsts的其余api获取工作项目。

解决方案



感谢您在此发帖。



您可以使用以下rest api来获取集合中所有工作项的列表,并且所有字段包括状态都在其余api的响应中:


获取


http:// XXXX:8080 / tfs / DefaultCollection2015U3 / _apis / wit / workitems?ids = 1,2,3& api-version = 1.0


有关详细信息,请参阅以下链接:


https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#get-a-list-of-work -items



最好的问候


Limitxiao Gao


Hi Team,

  I want to update the state of the work item, before that i want to get the list of work item states these states i want to show in the dropdown when user selects the particular state i want to update the work item state.

Please help me how to get  the work items through the rest api of vsts.

解决方案

Hi,

Thank you for posting here.

You could use the following rest api to get the list of all work items in the collection, and all the fields include the state are in the response of the rest api:

Get

http://XXXX:8080/tfs/DefaultCollection2015U3/_apis/wit/workitems?ids=1,2,3&api-version=1.0

For more information, you could refer to the following link:

https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#get-a-list-of-work-items

Best Regards

Limitxiao Gao


这篇关于获取scrum流程项目的工作项状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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