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

Birt- How to count the number of childrens of each workitems

Hello

In my case, each workitem has two types of childrens: "new components" and "modified components".

In Birt, I must count for each workitem how many new and modified childrens it has. I did it using birt agregation functions, but when I join Datasets it's not working well.

 

 Is there a "Group By" equivalent for BIRT in the LINKS table? How can I do something like that?

Select SOURCE_ITEMID, COUNT(TARGET_ITEMID) from LINKS where LINK_TYPE='com.ibm.san.workitem.extension.linktype.gc2cd.new' group by SOURCE_ITEMID

 

Best regards

Boris

0 votes



2 answers

Permanent link
There is no built-in aggregation available on the LINKS table. However, you can get similar functionality from LIVE_SNAPSHOT. com.ibm.team.links.AuditableLink. This includes a field "liveRecordCount" which, if you select only that, acts as a COUNT. It contains the same information in the LINKS table and more.

james

1 vote


Permanent link
I will test it right now. Thank you James.

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

Question asked: Jun 18 '12, 4:38 a.m.

Question was seen: 6,487 times

Last updated: Jun 18 '12, 9:51 a.m.

Confirmation Cancel Confirm