How to fetch BIRT reports design files from the server?
4 answers
Here is an example where I am trying to load the report design whose ID is: workitems.Burndown from a project area named P1.
The following URL will give me the ID of the attached design file:
The following URL will give me the ID of the attached design file:
https://server:port/ccm/rpt/repository/generic?fields=generic/com.ibm.team.reports.ReportDescriptor[projectArea/name='P1' and id='workitems.Burndown']/(id|contents[key='com.ibm.team.reports.design.rptdesign']/(key|value/contentId))
Look for the ID in the <contentId> element:
<contentId>_MUGpYRWEEeOoR631PXjR0A</contentId>
Use that ID in the following URL to retrieve the design file:
https://server:port/ccm/service/com.ibm.team.repository.common.internal.IContentRestService/content/_MUGpYRWEEeOoR631PXjR0A
Comments
Tried it on CLM version 5.0.2 using the method provided by Rafik above, and I am able to get the BIRT report design that I deployed. You need to know the Identifier that you specify when deploying the BIRT report as Report Resource to the CCM server. It does not work for me for the IBM built-in reports "workitems.Burndown", as it does not show the contentId. However, it provides a way for you to get the report design from the server, if your local one on your pc is corrupted.
The out of the box reports that get bundled with RTC can be found in one of the server bundles:
<server install location>\server\conf\ccm\sites\rtc-commons-update-site\plugins\com.ibm.team.examples.reports.common_XXXXXXXXXXXXXXXXXX.jar
Please use any zip utility to unjar the above and you will find the BIRT design files.
<server install location>\server\conf\ccm\sites\rtc-commons-update-site\plugins\com.ibm.team.examples.reports.common_XXXXXXXXXXXXXXXXXX.jar
Please use any zip utility to unjar the above and you will find the BIRT design files.
Comments
Millard Ellingsworth
FORUM ADMINISTRATOR / JAZZ DEVELOPER Sep 25 '13, 8:26 p.m.1 vote