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

Create a query with a parameter

Hi
I would like to create a query to filter my workitems but with a parameter which is set when a user executes it like ClearQuest.
Is it possible ?
I haven't found this option ...
Regards
Mathieu

1 vote


Accepted answer

Permanent link
In the query editor in both the Eclipse client and the web UI, there is a an icon near the top of the box for each condition that looks like a green arrow on top of an index card.  The tool tip for the icon is "Enable Input of Condition Values when Query is Run."  Click that icon, and the user running the query will be prompted to supply the value for that particular condition when the query is run.
Mathieu Defianas selected this answer as the correct answer

1 vote

Comments

This looks like only for work item queries but not for queries of test artifacts within QM?

@Frank, test artifacts are not work items and use a different query structure. It is possible to create custom test artifact queries and save those queries for later use (even make them a menu option on the action bar), but they do not support prompting for values.

Thanks David ! It works perfectly in the 4.0 version ... So I am going to update my RTC server :-) Regards Mathieu

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
× 12,019
× 369
× 201

Question asked: Jul 17 '12, 4:01 p.m.

Question was seen: 5,059 times

Last updated: Jul 19 '12, 4:12 a.m.

Confirmation Cancel Confirm