Value Supplier

Overview

Finds or creates specific values for use with keychains.

The value can be text, a number, or a page in Confluence.

Details

Name:

Value Supplier

Prefix:

value(required)

Supported Content:

Anything

Provided By:

Reporting for Confluence FROM v3.2.0

Supported Keys

List of keys that this supplier returns a value for.

Key

Content Types

Return Type

Description

Key

Content Types

Return Type

Description

text X

Anything

Text

Creates a text string with the specified value of X.

number(format) X

Anything

Number

Creates a number, using the 'format' provided in brackets to parse the 'X' value.

The format section is optional.

date(format) X

Anything

Date

Creates a date using the specified format and parsing the 'X' value.

content X

Anything

Content

Tries to find and return the specified Confluence content.

Uses standard confluence link syntax to find the content.

For example

  • content My Page - a page called 'My Page' in the current space

  • content KEY:Page - a page called 'Page' in the 'KEY' space

  • content ^filename.ext - an attachment called 'filename.ext' on the current page

label X

Anything

Label

Finds the label with a name of 'X'.

user-profile X

Anything

User

Finds the user with a username of 'X'.

Examples

Simple Value Creation Examples

*Text:* {report-info:value:text This is text}*Number:* {report-info:value:number 123|format='$'#,##0.00}*Date:* {report-info:value:date(dd-MMM-yyyy) 25-Dec-2009|format=MMMM d, yyyy}*Content:* {report-info:value:content Home|link=true}*User Profile:* {report-info:value:user-profile test1|link=true}*Label:* {report-info:value:label test|link=true}