Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes

Comments

What is the complete use case that you are trying here?

If it is for reporting purpose then the work items you are trying to access is already present in the data warehouse.

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.


Accepted answer

Permanent link
Does this help:
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Using_Stored_Queries


Mike Shkolnik selected this answer as the correct answer

1 vote

Comments

That's exactly what I needed. Thanks.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,948
× 480

Question asked: Nov 21 '13, 7:43 p.m.

Question was seen: 4,419 times

Last updated: Nov 22 '13, 12:40 p.m.

Confirmation Cancel Confirm