It's all about the answers!

Ask a question

RQM OLSC : testcase results doesn't contain any defect links

anup g (7912) | asked Jun 04 '14, 7:18 a.m.


ii'm extracting testcase execution record based on modified time using Rest API but the response xml doen't contain any details about defects though a defect is associated with testcase execution record.

i've tried to extract defects from RTC but i could only extract 1 at a time.  i want to extract defect workitems based on modified date.

could someone please explain how to extract all the defects from RTC?

2 answers

permanent link
Don Yang (7.7k21110138) | answered Jun 04 '14, 8:13 a.m.
What version of RTC/RQM do you have?
Can you please provide the APIs you used which got problem?

For RQM, if you try:
https://server:port/qm/service/ area alias/executionresult/
(xx is id of result)
Does it provide defect link for you?

For RTC to list defects, how about trying:
https://server:port/ccm/oslc/contexts/<project areas="" ID="">/workitems?oslc.where=rtc_cm:type="defect"

anup g commented Jun 04 '14, 8:29 a.m.

Thanks Don yang for your response.

RQM version : 4.0.6


I've extracted executionresults as well but the assosiated defects are missing in the response.

Can also help with an url to get defects based on modfied date?

Don Yang commented Jun 05 '14, 3:30 a.m. | edited Jun 05 '14, 3:31 a.m.

I use the one specified in the above reply in 4.0.6 and I can see the defect info properly in the response. Are you able to see the defect in your TCER view?
You may want to try what Stephane suggested "?calmlinks=true " or "etlmode=true"

Regarding modified date based defect, you can try to add the below:


permanent link
Stephane Leroy (1.4k149) | answered Jun 04 '14, 10:16 a.m.
edited Jun 04 '14, 10:38 a.m.
Hi Anup,

the title of your question (incl. OSLC) and the link to the RQM Reportable REST API makes it difficult to understand well your context:

Let me answer for the case you're using RQM Reportable REST API:
you would need to add ?calmlinks=true  and your URL would now look like something like this:
area alias/executionresult/

This link has more info:


Your answer

Register or 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.