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

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

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?

0 votes



One answer

Permanent link
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-

0 votes

Comments

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 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

Question asked: Apr 08 '13, 4:33 a.m.

Question was seen: 6,339 times

Last updated: Apr 09 '13, 8:24 p.m.

Confirmation Cancel Confirm