which is the best API to get all the workitem in TFS?

Deepak Jain Source

I want to get all the workitem and there child task currently I am using this api.
https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items

I'm getting all the workitem with there task but not getting all the fields of task.

apitfsvsts-api

Answers

answered 5 days ago Cece Dong - MSFT #1

Add parameter $expand=all in the api. $expand=all expands all fields, but it doesn't show the empty fields in response. If you type a value for the field you want to get, you will see it as expected in response.

comments powered by Disqus