How to get done/completed backlog items from Azure Dev Ops rest api?

孤街浪徒 提交于 2019-12-11 17:31:04

问题


'Backlogs - Get Backlog Level Work Items' rest api seems to only return "open" work items, excluding done/completed.

https://docs.microsoft.com/en-us/rest/api/azure/devops/work/backlogs/get%20backlog%20level%20work%20items?view=azure-devops-rest-5.0

I don't see any additional parameter mentioned in the docs to return everything, so how to get completed items for a project/team/backlog combination?


回答1:


How to get done/completed backlog items from Azure Dev Ops rest api?

You could not get done/completed backlog items. That because a product backlog represents your project plan, the roadmap for what your team plans to deliver. So, the done/completed backlog items will not be list in the Azure DevOps. If you change the state of any work item to closed on the backlog, backlog will remove that work item from backlog:

To get those done/completed work items, you could WIQL part of the API.

Check this thread for some more details.

Hope this helps.



来源:https://stackoverflow.com/questions/54677361/how-to-get-done-completed-backlog-items-from-azure-dev-ops-rest-api

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