Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reformat into a table

The following are available for variable substitution in the run and run-now macros:

Table plus
autoNumbertrue
VariableReplacement
$current_user_id

...

Current logged in user's id or blank if not logged in.
$current_user_name

...

Current user's full name or blank if not logged in.
$current_user_email

...

Current user's email address or blank if not logged in.
$current_user_timezone_id

...

Current user's time zone setting id (example: America/Chicago). The default time zone will be used if the user is not logged in.
$current_user_timezone_offset

...

Current user's time zone setting offset (in hours) from GMT (examples: -6, 5.5) The default time zone will be used if the user is not logged in.
$current_time

...

Current date and time in the default Confluence format or format specified by the dateFormat parameter.
$page_title

...

Title of the current page

...

.
$page_id

...

Numeric id of the current page

...

.
$page_url

...

Full url of the current page.
$page_tinyurl

...

Tiny url of the current page.
$space_name

...

Space name of the

...

current space.
$space_key

...

Space key of the

...

current space.
$confluence_home

...

Path to the Confluence Home directory.
$base_url

...

Base URL for Confluence.
$request_string

...

Encoded request parameters

...

Tip
titleContent properties
Content properties can also be accessed
after a button press.
%property_key%Property value. See content-properties for more information.
%metadata_name%Metadata value. See content-propertiesfor more information.
Tip
titleReplacement

Replacement occurs for variables found within the body of the macro just prior to rendering the body. It cannot replace variables produced by the rendering process like data produced by downstream macros.