It's all about the answers!

Ask a question

Adding a Trend report to a Dashboard Process Template


Keith Mantell (4612317) | asked Jun 09 '09, 12:44 p.m.
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

4 answers



permanent link
Mike Pawlowski (6861) | answered Jun 12 '09, 2:55 p.m.
JAZZ DEVELOPER
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>

permanent link
Mike Pawlowski (6861) | answered Jun 12 '09, 2:53 p.m.
JAZZ DEVELOPER
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.

permanent link
Keith Mantell (4612317) | answered Jun 11 '09, 11:40 a.m.
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

permanent link
James Moody (3.3k24) | answered Jun 10 '09, 11:15 a.m.
JAZZ DEVELOPER
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

Your answer


Register or to post your answer.