how to get all the Work item for a Iteration path by TFS API?

Akhil Jain Source

I am currently using TFS API who's link is

currently, in my project I want to access all the Workitems who's iteration path= MRI_SCRUM_GIT
currently, i am finding a workitem number 6109 by this in postman GET$expand=all&api-version=1.0


answered 6 months ago Cece Dong - MSFT #1

You need to execute a query to get all the Work item for a particular Iteration path. After executing a query, get the work items using the IDs that are returned in the query results response. You can get up to 200 work items at a time. Please refer to this article:

The sample is as below:


    Content-Type: application/json

      "query": "Select [System.Id], [System.Title], [System.State] From WorkItems Where [System.IterationPath] under 'MRI_SCRUM_GIT'"

comments powered by Disqus