It's all about the answers!

Ask a question

How to create data set to make a BIRT report as in attached image


Ian Wark (79713553) | asked Apr 08 '13, 4:33 a.m.
We are trying to obtain the dates when a workitem changed state as per the attached image.

The BIRT report we would like to create

We found this article, which helps some.
Creating custom reports with BIRT and Rational Team Concert: Part 3. Advanced reporting techniques
http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/index.html?ca=drs-

It explains about a table called WORKITEMS_SNAPSHOT-->WORKITEM_CHNGS. This provides most of the information we need, but there are times when there is more than one record with the same workitem id and state.

WORKITEM_CHNGS data

Is there a way to filter out the rows that have the same workitem id and state, but an older timestamp? Is there a better way to join tables.. create a calculated value etc.. to achieve data for our BIRT report?

One answer



permanent link
pugazhenthi samidurai (26423942) | answered Apr 09 '13, 9:12 a.m.
Hello ,

You can use the Java Script Object to store the work items and its multiple states. Then use that object to generate  the report.

refer following topics into the below link for more info about script : 

Scripted variables

Using the objects in other data sets

http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/index.html?ca=drs-


Comments
Ian Wark commented Apr 09 '13, 8:24 p.m.

Hi there,

Thank you for the response. I reviewed the two sections of the part 3 article.

Could you clarify a little more how to apply these JavaScript objects in our specific example? I think we need to filter out unnecessary rows to only take the first row after changing to a new state. I am not clear how this would work.

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.