问题
'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