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

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

0 votes



One answer

Permanent link

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


Note: This example is URL-decoded for readability.

0 votes

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,023

Question asked: Jun 14 '18, 9:26 a.m.

Question was seen: 2,137 times

Last updated: Jun 25 '18, 6:52 a.m.

Confirmation Cancel Confirm