IBM Support

How to create groups in the a Rational ClearQuest eclipse client query

Question & Answer


Question

How do I create a group in the IBM Rational ClearQuest eclipse client query as this does not seem to be easy to identify

Cause

This is not so easy to identify on how to do this

Answer

In a query when you try to group, you need to decide what field you will be grouping by.

To do this in the ClearQuest Eclipse client, select the query or create the query you need to run

In the example below, the All defects query is used which comes with the Sample database when you install ClearQuest.

Expand the Query and right click on the filters tab. Click on Edit option and in the next screen, add all the fields you would like to query on.

In the sample below, the headline , id and description have been included

When you right click on each of the filters, you see the ”Use fieldname”

For instance the description field has “Use Description”

What it means is that you can use the description field to do your grouping

So when you right click on it

Once you have activated this as your group by field, you can then group all the other fields by this field

Or after you have grouped all the other fields you can chose another group field and group a new set of fields

So below you see that the field description has been indicted to be the group by field, this

Can be included in the DateGate field

And once this is done your grouping becomes visible

Another group can be created

Right click on the headline field to group this with the id field

There are now 2 groups

You can then change or switch between And /Or

[{"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Client - Eclipse RCP","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.1;7.0.1.1;7.0.1.10;7.0.1.11;7.0.1.12;7.0.1.2;7.0.1.3;7.0.1.4;7.0.1.5;7.0.1.6;7.0.1.7;7.0.1.8;7.0.1.9;7.1;7.1.0.1;7.1.0.2;7.1.1;7.1.1.1;7.1.1.2;7.1.1.3;7.1.1.4;7.1.1.5;7.1.1.6;7.1.1.7;7.1.1.8;7.1.1.9;7.1.2;7.1.2.1;7.1.2.10;7.1.2.11;7.1.2.12;7.1.2.13;7.1.2.14;7.1.2.15;7.1.2.16;7.1.2.17;7.1.2.18;7.1.2.19;7.1.2.2;7.1.2.3;7.1.2.4;7.1.2.5;7.1.2.6;7.1.2.7;7.1.2.8;7.1.2.9;8.0;8.0.0.1;8.0.0.10;8.0.0.11;8.0.0.12;8.0.0.13;8.0.0.14;8.0.0.15;8.0.0.16;8.0.0.2;8.0.0.3;8.0.0.4;8.0.0.5;8.0.0.6;8.0.0.7;8.0.0.8;8.0.0.9;8.0.1;8.0.1.1;8.0.1.2;8.0.1.3;8.0.1.4;8.0.1.5;8.0.1.6;8.0.1.7;8.0.1.8","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21455396