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

Exclude trash artifacts from BIRT report

Hello!
I developed a BIRT reports which can get a filtered list of test plans from Rational Quality Manager v4.0.7. But additionally, I see the artifacts from the Trash in that list. Is there a way filter those artifacts from the Trash and exclude them from the final report?
Thank you very much for any help or recommendations?

0 votes



One answer

Permanent link
 Hi Dmitry

If you are using the RQM Reportable REST API for your report, you can use the ?includeArchived=false parameter.  That should filter out the artifacts in the trash.  See https://jazz.net/wiki/bin/view/Main/RqmApi#includeArchivedhttps://jazz.net/wiki/bin/view/Main/RqmApi

Toni

0 votes

Comments

Hi Toni,

Thank you for the recommendation but we don't use REST API in the BIRT report for RQM. But we found another tricky way, may be it can be useful for somebody.

There are two tables with their own advantages and shortages:
1. com.ibm.rqm.planning.TestPlan - many data about test plans but it includes the ones from trash
2. com.ibm.rqm.planning.VersionedTestPlan - minimum data about test plans but it contains all snapshots and doesn't include plans from trash
We linked the plans 1 & 2 by inner join for test plans IDs. Additionally we excluded snapshot plans from 2 by "snapshot = false" filter. At the end we have got the active plans only!

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
× 481
× 324

Question asked: Oct 20 '15, 6:01 a.m.

Question was seen: 3,079 times

Last updated: Oct 28 '15, 1:39 p.m.

Confirmation Cancel Confirm