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

how to get test plan name associated with a test case name?

My requirement is to find the  test plan name associated with a test case name using code ( RQM REST API). 

Any help would be highly appreciable. 
Thanks,

Regards,
Dev Kashyap.

0 votes


Accepted answer

Permanent link
 Hi Dev,

A query structured below will give you the XML of the test plans that test case X is linked to:    https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testplan?fields=feed/entry/content/testplan/(*|testcase[@href='https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testcase/urn:com.ibm.rqm:testcase:X'])

I'm not sure if this is the most efficient way, but it does work. 

Toni
Dev K selected this answer as the correct answer

1 vote

Comments

 Thanks Antoinette,


i have tried with this, but its showing me error  "404 : The requested resource is not available."can you please provide a small example.? 

many thanks in advance,

regards,
Dev Kashyap.

 Hi Toni, 


Many thanks for your response. It works for me but i am not getting response only for test case 'X' .. its returning all the test plans and associated test case "href" . Is it possible to get test plan results only for the test case "X".

I have testcase name as a input and i need corresponding test plan ? 

Regards,
Dev Kashyap.

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
× 10,938

Question asked: Oct 21 '13, 8:10 a.m.

Question was seen: 5,105 times

Last updated: Oct 22 '13, 6:47 a.m.

Confirmation Cancel Confirm