Reporting traceability TER - Defect from Rational Change
![](http://jazz.net/_images/myphoto/368579e1ab8fcc90212d34109ff07a4b.jpg)
Hi there.
Considering this scenario:
RQM for test management, but defects are stored in Rational Change.
RQM and Rational Change are integrated via OSLC http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/index.jsp?topic=/com.ibm.rational.test.qm.doc/topics/t_int_rational_change.html
Does anyone know if there is a way to create a report from RQM showing this traceability?:TER ID - Defect ID
The Defect URL stored in RQM would be enough to get this info, but when navigating the REST services (I'm using RPE - Rational Publishing Engine -) and navigating the RQM data model, it looks like there are no linked defects to the TER. I can't even get the link to Change. Maybe I'm not navigating properly or this link info is not available via REST.
However, I can get a similar report from Change. The attributes affectsExecutionResult and blocksTestExecutionRecord can be queried via the Change REST, wich refer to the associated failed TER.
Considering this, I can easily create the report Defect ID - TER ID querying Change, but creating the report TER ID - Defect ID using this method would require a lot of work and it could require a lot of time to be generated (many URLs and loops).
Any idea of how to get this traceability from RQM?
Thanks.
Considering this scenario:
RQM for test management, but defects are stored in Rational Change.
RQM and Rational Change are integrated via OSLC http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/index.jsp?topic=/com.ibm.rational.test.qm.doc/topics/t_int_rational_change.html
Does anyone know if there is a way to create a report from RQM showing this traceability?:
The Defect URL stored in RQM would be enough to get this info, but when navigating the REST services (I'm using RPE - Rational Publishing Engine -) and navigating the RQM data model, it looks like there are no linked defects to the TER. I can't even get the link to Change. Maybe I'm not navigating properly or this link info is not available via REST.
However, I can get a similar report from Change. The attributes affectsExecutionResult and blocksTestExecutionRecord can be queried via the Change REST, wich refer to the associated failed TER.
Considering this, I can easily create the report Defect ID - TER ID querying Change, but creating the report TER ID - Defect ID using this method would require a lot of work and it could require a lot of time to be generated (many URLs and loops).
Any idea of how to get this traceability from RQM?
Thanks.
One answer
![](http://jazz.net/_images/myphoto/368579e1ab8fcc90212d34109ff07a4b.jpg)
I managed to fix it, taking a deeper look to the wiki
https://jazz.net/wiki/bin/view/Main/RqmApi
The key was to use the "calmlinks" and "abbreviate" parameters. An example of TERs showing their associated defects would be
https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/executionresult?calmlinks=true&abbreviate=false
https://jazz.net/wiki/bin/view/Main/RqmApi
The key was to use the "calmlinks" and "abbreviate" parameters. An example of TERs showing their associated defects would be
https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/executionresult?calmlinks=true&abbreviate=false