Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Include Archived always for a BIRT report

I have a BIRT report that shows counts for completed work items. These work items may have archived owners/creators and do have archived timelines. In order to see the report with all data the user has to always manually turn on the 'Include Archived' setting in the web GUI.

Is there any way for this BIRT report to default to include archived data? Looking at the data sources there doesn't seem to be any different set of data sources for archived data or any configuration to include archived data. There also doesn't seem to be any settings in the report template for this. From what I can tell the user just has to know to turn on include archived every time they run.

0 votes



2 answers

Permanent link
 We had the same issue as the team area had been archived but were able to find out a workaround:

Assuming you are using the "LIVE_WOKRITEM_CNT" table, add the "TEAM_AREA_ARCHIVED" attribute to the Parameters of your dataset but leaving the default value field blank

0 votes

Comments

Thank you for the suggestion and I just gave this a try. We are using the com.ibm.team.workitem.WorkItem table so it's a bit different. There is an archived column on the table which seems to cover general archive of any of the related items. Each of the related items also has an archive item, like creator.archived.

I tried setting the archived column as a parameter, with no value set as suggested. However with it setup this way the query started performing extremely poorly. Before the change preview on the data source was taking about 3 seconds and after the change preview jumped to something like 30 seconds. I then tried deploying and running the report but after waiting about 15 minutes the report never did load. It may that the archive has too many records to go through to perform reasonably. However, if that is the case I can't understand why checking the "Include Archived" checkbox on the unmodified report performs quickly.


Permanent link
Sorry, which table in the following link  is com.ibm.team.workitem.WorkItem?

0 votes

Comments

Looks like the table I'm using isn't on that link. I'm guessing it's a custom table with our deploy. I'm using LIVE_SNAPSHOT with table com.ibm.team.workitem.WorkItem

When I originally looked into WORKITEM_SNAPSHOT at the Live_WorkItem_Cnt table there were either some problems I couldn't get around or some data I couldn't get to. However I originally wrote these reports on RTC v2 and now we are in v3 moving to v4 within a few months. I may have to look at changing the source tables now.

Yes, if you could use Live_WorkItem_Cnt table, then you should be able to add the Archived fields without any performance impact since this table only contains point-in-time data... The performance issue you were experiencing made me think you were actually looking to the HUGE WORKITEM_SNAPSHOT table...Good luck

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: Nov 11 '11, 10:14 a.m.

Question was seen: 4,240 times

Last updated: Sep 13 '12, 5:21 p.m.

Confirmation Cancel Confirm