The following are available for variable substitution in the run and run-now macros:
Table plus |
---|
|
Variable | Replacement |
---|
$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 |
---|
|
...
...
| Numeric id of the current page |
---|
|
...
...
| Full url of the current page. |
---|
$page_tinyurl |
---|
|
...
| Tiny url of the current page. |
---|
$space_name |
---|
|
...
...
...
...
current space. | $confluence_home |
---|
|
...
| Path to the Confluence Home directory. |
---|
$base_url |
---|
|
...
| Base URL for Confluence. |
---|
$request_string |
---|
|
...
| Encoded request parameters |
---|
|
...
Tip |
---|
|
Content properties can also be accessed |
Tip |
---|
|
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. |