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

Read build records in project via REST API

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?

0 votes


Accepted answer

Permanent link
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

0 votes

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.

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,952

Question asked: Jul 04 '16, 10:35 a.m.

Question was seen: 1,631 times

Last updated: Jul 05 '16, 4:35 a.m.

Confirmation Cancel Confirm