Read build records in project via REST API
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
https://jazz.net/wiki/bin/view/Main/RqmApi
Comments
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
The particular link seems to be an OSLC link, not REST API link.
Yes, do you have an idea how to get the REST API link?
I don't need the REST API link any more, I will just set the link via OSLC.