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 |
Accepted answer
![]()
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
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 |