how can we query tcer according to test plan with configuration enabled in RQM by REST API?
Hi Someone who may concern
We are working on CLM 6.0.4.
We are wondering whether it is supported that query all TCER according to a specified test plan with configuration enabled?
We have several GC streams including RQM local stream, we want to use REST API to fetch all tcer under specified test plan for a specified stream:
But it just can not return proper result back.
However, when we tried to access the same test plan directly under the same GC stream, it can return the content of that test plan properly, so we are sure we used the right configuration.
https://aaa.ccm.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectA/testplan/urn:com.ibm.rqm:testplan:1067?oslc_config.context=https%3A%2F%2Faaa.ccm.com%3A9443%2Fgc%2Fconfiguration%2F191
So, we are wondering whether something wrong in our REST API command to query TCER? How can we query all TCER according to a specified test plan with configuration enabled?
Thanks!
Best Regards,
Jane Zhou
|
One answer
Hi Jane,
Everything you're trying to do is supported in RQM 6.0.4.
Try:
GET https://<localhost>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectA/executionworkitem?fields=feed/entry/content/executionworkitem/(testplan[@href='https://<localhost>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectA/testplan/urn:com.ibm.rqm:testplan:1067'])&oslc_config.context=https://<localhost>:9443/gc/configuration/191
See: https://jazz.net/wiki/bin/view/Main/RqmApi#FieldsExamples and https://jazz.net/wiki/bin/view/Main/RqmApi#oslc_config_context.
Note: This example is URL-decoded for readability.
|
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.