It's all about the answers!

Ask a question

Is it possible to use REST API in BIRT reports?


Vladimir Amelin (70472226) | asked Jul 03 '12, 10:16 a.m.
Let's say I would like to fetch data using REST API in my BIRT report. Is it possible? Should I use java\javascript as REST client or there are configured data sources? Thanks in advance.

One answer



permanent link
ankur sharma (66212228) | answered Jul 05 '12, 5:10 a.m.
JAZZ DEVELOPER
You could have used XML data source but it does not allows authentication. However, I found another useful link https://teamgreenridge.wordpress.com/2011/05/04/reporting-on-rational-team-concert-timesheet-information-part-i/ but it uses RPE.
For BIRT, you will probably have to use Scripted Data Source and right some javascript code in there to fetch and parse XML output form REST api. I couldn't not find any OOTB way.

Comments
Vladimir Amelin commented Jul 05 '12, 6:12 a.m.

Are there any code snippets of javascript using REST API? I've tried to write it some time ago but failed to make it work.


ankur sharma commented Jul 05 '12, 7:21 a.m.
JAZZ DEVELOPER

I don't have anything readily available. Will share if I could write/find something

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.