Home how to get all the Work item for a Iteration path by TFS API?
Reply: 1

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

Akhil Jain
Akhil Jain Published in 2018-02-14 05:29:04Z

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 http://apactfs.cbre.com:8080/tfs/CBRE.APAC.Applications/MRI_SCRUM_GIT/_workitems?_a=edit&id=61092
currently, i am finding a workitem number 6109 by this in postman GET

Cece Dong - MSFT
Cece Dong - MSFT Reply to 2018-02-14 07:39:51Z

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:

POST http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/_apis/wit/wiql?api-version=1.0

    Content-Type: application/json

      "query": "Select [System.Id], [System.Title], [System.State] From WorkItems Where [System.IterationPath] under 'MRI_SCRUM_GIT'"
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.339833 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO