Use text variables to create dynamic content when using Refined's modules.


Displaying rich content


Filter settings




Please note: Text variables does only work in Modules and Macros developed by Refined.


Refined for Confluence Server

VariableDescriptionIntroduced in version
$usernameThe username of the current logged in user.6.0
$userfullnameThe full name of the current logged in user.6.0
$userfirstname

The first name of the current logged in user.

Note: If you have your display name as "lastname, firstname" this will not work.

6.0
$sitenameThe name of the current site.6.0
$siteidThe ID of the current site.6.0
$categorynameThe name of the current category.6.0
$categorykeyThe key of the current category.6.0
$spacenameThe name of the current space.6.0
$spacekeyThe key of the current space.6.0
$pagenameThe title/name of the page6.0
$pageidThe id of the page.6.0
$queryThe search entered by the end user, eligible for Search modules and macros6.1

Refined for JIRA Service Desk

VariableDescriptionIntroduced in version
$usernameThe username of the current logged in user.2.0
$userfullnameThe full name of the current logged in user.2.0
$userfirstname

The first name of the current logged in user.

Note: If you have your display name as "lastname, firstname" this will not work.

2.0
$sitenameThe name of the current site.2.0
$siteidThe ID of the current site.2.0
$categorynameThe name of the current category.2.0
$categoryidThe ID of the current category.2.0
$servicedesknameThe name of the current service desk.2.0
$servicedeskidThe ID of the current service desk.2.0

Refined for JIRA Service Desk Cloud

VariableDescription
$usernameThe username of the current logged in user.
$userfullnameThe full name of the current logged in user.
$userfirstname

The first name of the current logged in user.

Note: If you have your display name as "lastname, firstname" this will not work.

$sitenameThe name of the current site.
$siteidThe ID of the current site.
$servicedesknameThe name of the current service desk.
$servicedeskidThe ID of the current service desk.
$projectnameThe name of the current Jira project.
$projectidThe ID of the current Jira project
$projectkeyThe key of the current Jira project
$pagenameThe name of the current page
$pagekeyThe key of the current page


RefinedSpaces for Confluence Cloud


Variable

Description

$usernameThe username of the current logged in user.
$userfullnameThe full name of the current logged in user.
$userfirstnameThe first name of the current logged in user.
$spacenameThe name of the current space.
$spacekeyThe key of the current space.

  • No labels