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

Adding a Trend report to a Dashboard Process Template

Hi,

Although there are some examples I still don't see clearly how to add a Trend Report:

ReportID: is "workitems.DefectBacklog" a good example?
How do I discover the Query (UUID)?

How do I determine the parameters which should and must be given?

Thanks,
Keith

0 votes



4 answers

Permanent link
On 6/9/2009 12:52 PM, keithmantell wrote:
Hi,

Although there are some examples I still don't see clearly how to add
a Trend Report:

ReportID: is "workitems.DefectBacklog" a good example?
How do I discover the Query (UUID)?

How do I determine the parameters which should and must be given?

Thanks,
Keith


Are you using a 2.0 build? If so, there's a wiki topic here that might help:

https://jazz.net/wiki/bin/view/Main/HowToAddNewDashboardTrendReports

james
RTC Reports Team Lead

0 votes


Permanent link
James ,


Yes, build 2

Thanks but I think my question is different ( though I do have that issue too).

Using the eclipse client to add the trend report gives the questions that I asked above; I think your info is on how to get reports onto the dashboard.

I guess I do not understand how to find the Query UUID for a given report type.

Thanks,
Keith

0 votes


Permanent link
Hi Keith,

In RTC 2.0, the trend report viewlets moved from using report parameter values to report query item IDs to store values.

The consequence of doing this was the inability to easily prime viewlet values anymore because report query item IDs can only be assigned at runtime.

In order to prime trend report viewlets for the RTC process specifications (like Scrum), we developed an internal mechanism using viewlet memento data that mirrored the old way.

e.g.

<viewlet>
<preference>
<memento>
<property>
<memento>
<property>ProjectAreaName</property>
<property>'{Current Project Area}'</property>
</memento>
<memento>
<property>TeamAreaName</property>
<property>'/${scope-path}'</property>
</memento>
<memento>
<property>ProjectAreaName1</property>
<property>'{Current Project Area}'</property>
</memento>
<memento>
<property>Interval</property>
<property>'{Current Iteration}'</property>
</memento>
<memento>
<property>Zoom</property>
<property>false</property>
</memento>
</property>
</memento>
</viewlet>

This method relies on internal knowledge about the BIRT report template in question and the Reports REST service API.
It is not documented or supported at this point.
You can take a look at the Scrum specification for examples on how to do this or look at the REST service calls using Firebug in FF3 to figure out the necessary parameters for a given report.

Post RTC 2.0, we plan on making trend report viewlet priming more easy and accessible to the end user. Specifically, allowing users to specify predefined report query string IDs in place of item IDs for the query preference value. This is similar to what is done for Work Items.

0 votes


Permanent link
HTML was literally interpreted by the Wiki (second try):

<viewlet id="com.ibm.team.reports.viewlet" title="%scrum_spec_234" trim="blue">
<preference id="report" value="workitems.MicroBurndown"/>
<memento>
<property name="parameters" type="xsd:string">
<memento>
<property name="name" type="xsd:string">ProjectAreaName</property>
<property name="value" type="xsd:string">'{Current Project Area}'</property>
</memento>
<memento>
<property name="name" type="xsd:string">TeamAreaName</property>
<property name="value" type="xsd:string">'/${scope-path}'</property>
</memento>
<memento>
<property name="name" type="xsd:string">ProjectAreaName1</property>
<property name="value" type="xsd:string">'{Current Project Area}'</property>
</memento>
<memento>
<property name="name" type="xsd:string">Interval</property>
<property name="value" type="xsd:string">'{Current Iteration}'</property>
</memento>
<memento>
<property name="name" type="xsd:string">Zoom</property>
<property name="value" type="xsd:string">false</property>
</memento>
</property>
</memento>
</viewlet>

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

Question asked: Jun 09 '09, 12:44 p.m.

Question was seen: 4,754 times

Last updated: Jun 09 '09, 12:44 p.m.

Confirmation Cancel Confirm