Using the REST API to bring up list of predfined queries?
![]()
I would like to use the REST API to first bring up a list of predefined queries, and then to bring up the results of a specific predefined query. I can't seem to find a way to do this - I've only seen how to manually define a query, not how to select from pre-existing queries. Any ideas?
|
Accepted answer
![]()
Does this help:
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Using_Stored_Queries Mike Shkolnik selected this answer as the correct answer
|
Comments
What is the complete use case that you are trying here?
The idea is to load a list of queries, let the user select a query, then load the resulting work items and their history, then be able to search through the complete history of those work items. I already have the app working based on selected project, category, and iteration (or imported list of work items). I just need to add predefined queries. You can also search for bad child links.