Reputation: 4425
I need to get a list of workitems under my projects .Treid using this API call
https://dev.azure.com/{organization}/{project}/_apis/wit/workitems?ids={ids}&api-version=5.0
it has a mandatory parameter as IDs so i need to find the IDs of workitems.
Can someone guide me on how to get the list of IDs ? or any APIs available ?
Upvotes: 0
Views: 118
Reputation: 32240
You can try to do this using WIQL instead. Here is an example. The response will contain a list of work items.
WIQL is quite power query language. You can achieve much more with it than with just plain REST API calls.
Upvotes: 2