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

How to effectively use RQM snapshots with RPE?

The RQM Reportable REST API says that you can query a resource using a revision parameter, where the value of the parameter is the revision number.  (See https://jazz.net/wiki/bin/view/Main/RqmApi#revision)

I have an RPE template that takes as an initial data source a feed of all the test plans in a project.  The RPE template then cycles through the test plan feed and dynamically configures a new data source to get the details of each individual test plan, and proceeds to print out a bunch of stuff in the individual test plan (test plan attributes, test cases, etc).

In RQM, I've applied a snapshot to each of the test plans to denote a certain milestone in our project.  Each test plan snapshot has been given the same name (call it "Foo"), but RQM assigns each snapshot a unique revision number.  What I would like to be able to do is run the RPE template and have it only print out what's in the snapshot "Foo" for all test plans.  But the revision parameter expects a revision number, not a snapshot name.  In other words, it expects me to supply the unique revision number for each test plan instead of allowing me to address the entire feed of plans with a single snapshot name or revision number.  So I'm stuck.

Is there a good way to accomplish what I'm trying to do?

Thanks,
Joe

0 votes


Accepted answer

Permanent link
hi Joe,

If you want to GET a specific snapshot, the revision parameter only accepts the revision number, but not the name.

RQM REST API supports the PROPFIND request to retrieve the snapshots list (see https://jazz.net/wiki/bin/view/Main/RqmApi#Read_a_List_of_Snapshots), and you can get the revision number there given its title.

However, I'm afraid RPE only supports GET request, you may need to script your own PROPFIND request, which I think is not easy..
Joe Gariano selected this answer as the correct answer

0 votes

Comments

Thanks for the answer.  I wish that the snapshot feature for QM worked like it does in RM -- i.e., where you can apply a single snapshot to an entire project and then use the ID of that snapshot in RPE queries.

Regards,
Joe

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
× 12,015
× 7,487

Question asked: Jul 02 '13, 2:09 p.m.

Question was seen: 4,105 times

Last updated: Jul 03 '13, 1:30 p.m.

Confirmation Cancel Confirm