Dashboard > Atlassian Plugins > ... > Suppliers > Report Supplier
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  Report Supplier

Added by David Peterson , last edited by David Peterson on Aug 10, 2007  (view change)
Labels: 

Summary

Provides access to information about the current report.

Inside any report, this supplier will give access to the content (page/news item/etc) and other information about the currently reported item.

Details

Name: Report Supplier
Prefix: report (required)
Supported Content: No content required, but must be within a report.
Provided By: Reporting Plugin, from version 1.3

Keys Supported

The following are the list of keys which this supplier will return a value for.

Key Content Types Return Type Description
item Anything The item currently being reported on. Could be anything.
item number Number The number of the current item in the set of items being reported on. For example, the first item in a report will have the number '1'.
item outline Text Provides a numeric "outline" of the reported item. If the current report is embeded within an outer report, it will have the pattern "X.X" (eg. "1.2", "2.5", etc).
content Content The current content being reported on. If the item being reported on is not a page, news item or similar (eg. a user, group or other object type), the content will be inherited from any parent reporters, or from the root content object if none are present.
root content Content The content (page, news item, etc) which contains the top-level report in this HTTP request.
parent Report The parent report object, if one exists.

Related Suppliers

Report Supplier

Examples

Auto numbered rows.

Displays the row/item number of the report in a column.

{report-table}

{local-reporter:content:children}

{report-column:title=#}{report-info:report:item number}{report-column}
{report-column:title=Name}{report-info:content:title|link=true}{report-column}

{report-table}

Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators