Text variables make the content of Page Builder landing page modules dynamic. For example, welcome a user to an intranet by name with the $username text variable. Additionally, they can save you the effort of looking up and entering project IDs and space keys in module settings. Additionally, And you don't have to update text and settings when you make changes to your site, or when you export/import landing page layouts.
Table of Contents |
---|
...
Add text variables in a module’s title or body text
Click a module’s heading or body text to edit it.
In your text, write the variable where you’d like to show dynamic content.
Text variable | Effect |
---|---|
$username $userfullname $userfirstname | Shows the current user’s username, full name, or first name. These names are set up in users' Atlassian accounts. For example, write “Welcome, $username” to personally welcome a user to your intranet. |
$sitename | Shows the name of the site, as set up in the site’s configuration. For example, write “Welcome to $sitename” to welcome a user to your support site. |
$structurename | Shows the name of the current page, as set up in the site structure. For example, write “Your requests on $structurename” in the title of a My Requests module. |
Widget Connector | ||||||
---|---|---|---|---|---|---|
|
...
Add text variables in a module’s settings
Jira Issues module
Filter by Project field:
Excerpt | ||
---|---|---|
| ||
|
Issue Types module
Project ID field:
Excerpt | ||
---|---|---|
| ||
|
Request Types module
JSM Portal ID field:
Excerpt | ||
---|---|---|
| ||
|
My Requests module
Service desk ID field:
Excerpt | ||
---|---|---|
| ||
|
Pages module
Filter by Space field:
Excerpt | ||
---|---|---|
| ||
|
Activity Stream module
Filter by Space field:
Excerpt | ||
---|---|---|
| ||
|
Filter by contributor field: enter $userid to show only activity from on documents that the current user has worked on.
News module
Filter by Space field:
Excerpt | ||
---|---|---|
| ||
|
Filter by author field: enter $userid to show only blog posts created by the current user.
...
Advanced: text variables in CQL and JQL
These variables can be used a module’s Filter with CQL or Filter with JQL field:
...