It's all about the answers!

Ask a question

Read build records in project via REST API


Simone Gronau (154) | asked Jul 04 '16, 10:35 a.m.
I'm trying to read all existing build records within a RQM project.

For test cases, I can use an URL like this:
https://localhost:9443/qm/oslc_qm/contexts/_7C2_YDQIEeKh2o37xigryw/resources/com.ibm.rqm.planning.VersionedTestCase

I would expect that there is a similar URL for the build records?

Accepted answer


permanent link
Donald Nong (14.5k414) | answered Jul 04 '16, 9:50 p.m.
Have you tried the "buildrecord" resource? It's all detailed in this document.
https://jazz.net/wiki/bin/view/Main/RqmApi
Simone Gronau selected this answer as the correct answer

Comments
Simone Gronau commented Jul 05 '16, 3:42 a.m. | edited Jul 05 '16, 4:35 a.m.

You are right, the following URL gives me a list of the build records:
https://vistrpndas1.vi.vector.int:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_Gy1bVBxEEeaRqKwXSqQ7FQ/buildrecord

But, the returned Build Record URL is not the one I am looking for. I get URLs like this:
https://vistrpndas1.vi.vector.int:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_Gy1bVBxEEeaRqKwXSqQ7FQ/buildrecord/urn:com.ibm.rqm:buildrecord:3

What I need is this format:
https://vistrpndas1.vi.vector.int:9443/qm/rqm_build/contexts/_Gy1bVBxEEeaRqKwXSqQ7FQ/resources/com.ibm.rqm.buildintegration.BuildRecord/_xwkYAEHKEeaCpaL7fireDQ

The background is that I want to link a Test Case Result to the Build Record, but when I use the upper URL, the Build Record can not be opened from within the Test Case Result.

Could you please tell me how to get to the needed URL


Donald Nong commented Jul 05 '16, 3:46 a.m.

The particular link seems to be an OSLC link, not REST API link.


Simone Gronau commented Jul 05 '16, 3:49 a.m.

Yes, do you have an idea how to get the REST API link?


Simone Gronau commented Jul 05 '16, 4:32 a.m. | edited Jul 05 '16, 4:34 a.m.

I don't need the REST API link any more, I will just set the link via OSLC.

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.