How to query an RRC baseline with RPE?
![]()
I'm using version 4.0.2 of RRC. I've created a baseline called "BASELINE_APRIL29_9am" for an RRC project. I would like to query elements of that baseline using RPE, and not pick up content from the RRC project that was added after the baseline. I know how to use RPE to pull elements out of the latest version of the RRC project; I want to know how to configure the data source to run the same RPE templates on a baseline version.
In the RRC Reportable Rest API Wiki (https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI), they say that you can filter by snapshot using the following URL structure for the data source:
https://server:port/rm/publish/[artifact_format]?snapshotId=id1
Assuming that "snapshot" and "baseline" were synonymous terms, I used my baseline name in id1 (with the other parts of the URL filled in correctly):
https://server:port/rm/publish/[artifact_format]?snapshotId=
BASELINE_APRIL29_9am
However, this returns an empty data source. Is there a way to do what I'm trying to do? If so, what URL do I use for the data source? Thanks, Joe |
Accepted answer
One other answer
![]()
Hi Joe,
I'm not completely positive as I've not tried this myself, but I strongly suspect that the id is the unique identifier of the baseline and not the human readable name you gave it. If you hover over the baseline link in the sidebar, you can copy that link (or see it in the browser status line). The id will be the very last part of the url (the "slug") after 'jts/baselines/' and starting with the underscrore ('_'). If that doesn't work, you can try the full url, but it's likely just the "slug". Comments Hi Stef, Edgar
|