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

How to use RQM queries as RPE data sources

We are currently using CLM 4.0.2.  We have a set of RPE scripts that use as data sources DOORS Next Gen views.  This is helpful because it allows DNG users to configure sets of requirements that a more generic RPE script then processes.  It also has performance benefits from an RPE document generation perspective.

Is there a similar feature for RQM?  We know that we can run queries in RQM to get specific sets of data.  But we don't know if we can use such a query as an RPE data source.

For example, we know how to create a query to get a subset of test case execution results.  And we know how to write an RPE script that prints stuff out for a set of test case execution results.  But we don't know how to tell RPE to only look at the test case execution results in that particular query.

Any help on this would be much appreciated.

Thanks,
Joe Gariano

0 votes


Accepted answer

Permanent link
The RQM views are not exposed through the reportable REST API schema you are using to pull the TER data.  The API for saved queries does not provide the schema, therefore RPE cannot retrieve it for reporting.  I'd suggest an enhancement request for the reportable REST API to provide a hook in to saved queries.

This is what a request to generate a saved query looks like.  You'll notice it returns the data associated with that query rather than a schema that RPE can consume.  Hope it helps,

https://clmweb.ibm.com/qm/service/com.ibm.rqm.planning.common.service.rest.ITestCaseRestService/pagedSearchResult?ownerUUIDs=_eViwYKC_EeOf1atORFyK1Q&stateIds=com.ibm.rqm.planning.common.new&parentVTestPlans=_Ow9LsKDAEeOs64lSdgz7nw&categories=_pn51cKC_EeOs64lSdgz7nw%3A_pn6chqC_EeOs64lSdgz7nw&categories=_pxsDkKC_EeOs64lSdgz7nw%3AUnassigned%2C_pxsDmKC_EeOs64lSdgz7nw&categories=_pn84wKC_EeOs64lSdgz7nw%3A_pn_8FKC_EeOs64lSdgz7nw&includeCustomAttributes=true&includeArchived=false&processArea=_oo9g8KC_EeOs64lSdgz7nw&traceabilityViewType=true&resolveParentTestPlans=true&resolveScripts=false&page=0&pageSize=10&resultLimit=-1&totalSize=31


Joe Gariano selected this answer as the correct answer

0 votes

Comments

Thanks Benjamin.  That helps a lot.

Regards,
Joe

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
× 7,494
× 481
× 332

Question asked: Apr 07 '14, 1:59 p.m.

Question was seen: 5,183 times

Last updated: Apr 08 '14, 2:47 p.m.

Confirmation Cancel Confirm