Hi Team,
我想更新工作项的状态,在此之前我想获取工作项状态列表,当用户选择我想要更新工作项状态的特定状态时,我想在下拉列表中显示这些状态。
请帮助我如何通过vsts的其余api获取工作项目。
解决方案
感谢您在此发帖。
您可以使用以下rest api来获取集合中所有工作项的列表,并且所有字段包括状态都在其余api的响应中:
获取
http:// XXXX:8080 / tfs / DefaultCollection2015U3 / _apis / wit / workitems?ids = 1,2,3& api-version = 1.0
有关详细信息,请参阅以下链接:
www.visualstudio/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
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:
www.visualstudio/en-us/docs/integrate/api/wit/work-items#get-a-list-of-work-items
Best Regards
Limitxiao Gao
更多推荐
获取scrum流程项目的工作项状态
发布评论