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

BIRT Scripted Data Source

Hi, I have been following this tutorial  https://www.ibm.com/developerworks/community/blogs/JazzyTunes/entry/creating_birt_reports_for_rtc_which_invokes_java_code?lang=en on how to create a BIRT report that invokes java code inside a RTC Server.

The java code is a plug in fragment.

The idea is to find a query defined by the user, process the WI that result from running the query and return the information in JSON format, so that the report can displayed it on the report. We are doing this in order to create a customize view that the team required and that it is not possible to create by a simple query. (they want to see the last 3 comments of a conversation and truncate the description of a work item).

This is the query that the report should use

The code I have been developing does not work because I can not obtain the classes to work using the method getService() Is there any way to use the RTC Java Server API inside a fragment like this?

or is there any other way to achieve what I want using another kind of data set?

This is how the report should look like more or less

0 votes

Comments

Repost the images due to OP's low reputation.



One answer

Permanent link

You first have to make sure the new RTC plugin is provisioned correctly. See the comment section of the blog for a similar case.

0 votes

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
× 10,937

Question asked: Oct 04 '17, 5:31 p.m.

Question was seen: 3,872 times

Last updated: Oct 04 '17, 11:24 p.m.

Confirmation Cancel Confirm