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

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

hi

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?

0 votes



2 answers

Permanent link
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/com.ibm.rqm.integration.service.IIntegrationService/resources/project area alias/executionresult/urn:com.ibm.rqm:executionresult:xx
(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"

0 votes

Comments

Thanks Don yang for your response.

RQM version : 4.0.6

REST API : https://jazz.net/wiki/bin/view/Main/RqmApi

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?

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:

&oslc.select=dcterms:title,dcterms:modified&oslc.where=dcterms:modified>=<^^xsd:dateTime>


Permanent link
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:
https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project
area alias/executionresult/urn:com.ibm.rqm:executionresult:xx?calmlinks=true

This link has more info: https://jazz.net/wiki/bin/view/Main/RqmApi#calmlinks

Regards,
Stéphane

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

Question asked: Jun 04 '14, 7:18 a.m.

Question was seen: 4,760 times

Last updated: Jun 05 '14, 3:31 a.m.

Confirmation Cancel Confirm