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

Added by david , last edited by David Peterson on Mar 04, 2008  (view change) show comment
Labels: 

Summary

Provides information about 'Map' collections, which are collections of information with a key/value relationship.

Details

Name: Map Supplier
Prefix: map (optional)
Supported Content: Maps
Provided By: Reporting Plugin

Keys Supported

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

Key Content Types Return Type Description
[key value] Maps anything Simply returns the item stored with the supplied key, which could be pretty much anything.
@all Maps List of Entries (Since 2.0.0) Returns the complete list of entries in the map.

Note: If you actually want the key value called '@all', you can escape it by doubling the '@'. I.e. put '@@all'. for your key value.

Related Suppliers

Request Supplier

Examples

Output a single entry

{report-info:my map > a key name}

Output all entries in a map

{report-table}
{local-reporter:my map > @all}
  {text-sort:entry:key}
{local-reporter}

{report-column:title=Key}{report-info:entry:key}{report-column}
{report-column:title=Value}{report-info:entry:value}{report-column}

{report-empty}_No entries are available._{report-empty}

{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