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
Hi Joe,
Indeed "snapshotId" and "baseline" are synonyms . What you need to provide is the UUID (Unique identifier) of the baseline.
I do suggest you open an enhancement request to support baseline by name and not just by UUID.
Joe Gariano selected this answer as the correct answer
Comments
Joe Gariano
commented Jun 13 '13, 7:22 p.m.
Thank you. Edgar, how do I get the UUID? Do I use the method Stef described?
1
You can use Stef's approach to obtain the UUID of the view.
And yes you can use it with those parameters as well
|
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
Erwin Kunz
commented Jul 03 '13, 5:45 a.m.
Hi Stef, Edgar
|
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.