It's all about the answers!

Ask a question

Custom Birt Reports installed in RTC - where are they stored on the server?


0
1
Lora Estey (7331920) | asked Jan 08 '14, 9:35 a.m.
Someone that has left our company made some customized reports/widgets. I'm trying to reverse engineer them but am not having luck.
I would like to see exactly what the .rptdesign file was when it was installed as report resource.
Where would I find these?

Accepted answer


permanent link
Alanna Zito (1.3k3) | answered Jan 08 '14, 11:40 a.m.
JAZZ DEVELOPER
Hi Lora,

Check out Rafik's answer to this question for instructions on how to download a report design file from the server.
Lora Estey selected this answer as the correct answer

Comments
Kevin Ramer commented Jan 08 '14, 12:36 p.m. | edited Jan 08 '14, 12:38 p.m.

I will vouch for this method !  But I'll provide a tip to focus on the reports modified by a particular user.

In the URL that helps you locate the resources I'd suggest using something like:

https://server:port/ .... reports.ReportDescriptor[modifiedBy/name='Your User' or modifiedBy/name='Some Other User']/(id|name|modified|modifiedBy/name|contents[key='com.ibm.team.reports.design.rptdesign']/(key|value/contentId))

You can elide the " or modified/by='Some Other User' " if there's only one you're interested in finding. That way you won't have to weed through lots of XML to find what you might need.


Lora Estey commented Jan 08 '14, 3:26 p.m.

Thank you, these worked great!  


Krzysztof Kaźmierczyk commented Jan 09 '14, 3:23 a.m.

Thanks Alana and Rafik :) I really didn't know that it is possible.


Aliaksei Gizheuski commented Feb 06 '14, 9:42 a.m.

Hello!

Could you PLEASE provide some example link without placeholders.
I don't understand the notation :(

One other answer



permanent link
Lora Estey (7331920) | answered Feb 06 '14, 3:24 p.m.
Here is how I did it with concrete examples

Lets say I have a Project called "LoraProject" and a Report Resource with the identifier 'defect.outstanding'
I want the XML of the report design.

I paste the following into my browser

https://thenameofmyserver:9443/ccm/rpt/repository/generic?fields=generic/com.ibm.team.reports.ReportDescriptor[projectArea/name='LoraProject' and id='defect.outstanding']/(id|contents[key='com.ibm.team.reports.design.rptdesign']/(key|value/contentId)) 

and I see:
<generic Version="1.0.0" rel="next" href="https://thenameofmyserver:9443/ccm/rpt/repository/generic?fields=generic%2Fcom.ibm.team.reports.ReportDescriptor%5BprojectArea%2Fname%3D%27LoraProject%27%20and%20id%3D%27defect.outstanding%27%5D%2F%28id%7Ccontents%5Bkey%3D%27com.ibm.team.reports.design.rptdesign%27%5D%2F%28key%7Cvalue%2FcontentId%29%29&id=_7uK14I9pEeOO7IatHMxBxA&size=100&pos=100">
<com.ibm.team.reports.ReportDescriptor>
<id>defect.outstanding</id>
<contents>
<key>com.ibm.team.reports.design.rptdesign</key>
<value>
<contentId>_kzqPQCR098ctleZKhKw</contentId>
</value>
</contents>
</com.ibm.team.reports.ReportDescriptor>
</generic>

So what I wanted out of all of that was this:

_kzqPQCR098ctleZKhKw

So that I can put it into this link.

https://thenameofmyserver:9443/ccm/service/com.ibm.team.repository.common.internal.IContentRestService/content/_kzqPQCR098ctleZKhKw

Then when I copy this into my browser I get the xml needed!

Comments
Aliaksei Gizheuski commented Feb 07 '14, 6:36 a.m.

Hi Lora,

Thank you very-very much!
I thought those brackets are kind of templates, but they are mandatory URL parts :)

Best wishes,
Aliaksei Gizheuski

Your answer


Register or 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.