0
votes

I have successfully retrieved work items from the api. I can also retrieve iterations/teams/projects etcetera from the api. My issue is that I have work item objects that I want to reference to iterations/teams/projects. I have not found a way to retrieve this info from the existing info on the work item. It appears that an iteration path doesn't always relate to a real iteration??? Are there fields in a work item that I can use to reference projects/teams/iterations.

1

1 Answers

0
votes

the missing element was getting iterations from this api: https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/classification%20nodes/get?view=azure-devops-rest-5.1 and traversing the iteration path up and down and giving it a $depth to get children