It's all about the answers!

Ask a question

Retrieve Baseline information for RPE


Stephen Valliere (231118) | asked Mar 20 '14, 8:13 a.m.
 I am trying to retrieve the module attributes of a baseline in RPE. I have the Baseline artifacts through the view, however I can't seem to get access to the module attributes. I am looking for something similar to:

https://server:port/rm/publish/resources?resourceURI=_dXzZmqYUEeOiFdV2qpk-Uw

which gives me all the information from the module, except I would like the values of the attributes in the baseline. I have tried replacing the Module ID with the Baseline ID and all it returns is:

<ds:dataSource xmlns:ds="http://jazz.net/xmlns/alm/rm/datasource/v0.1" xmlns:rrm="http://www.ibm.com/xmlns/rrm/1.0/" appId="RRC" rrm:totalCount="0"vMajor="40" vMinor="50"/>

Any suggestions?

Accepted answer


permanent link
Mike Jaworski (1.4k6) | answered Mar 20 '14, 9:37 a.m.
JAZZ DEVELOPER
 Hi Stephen,

Not sure if you've seen this specification before, but this lists most of the possible commands that you can issue through the Reporting REST API: https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI

According to this, I would try something like: https://server:port/rm/publish/resources?resourceURI=_dXzZmqYUEeOiFdV2qpk-Uw&snapshotId=[baselineID]

Hope this helps!
Mike Jaworski
Stephen Valliere selected this answer as the correct answer

Comments
Stephen Valliere commented Mar 20 '14, 11:48 a.m.

Thanks Mike, that was exactly what I was looking for. I was using that API resource already but there wasn't anything to tell me that a baselineID was the same as a snapshotId.

Your answer


Register or to post your answer.