"$currentDate" & "$currentUser"

This question is in reference to Atlassian Documentation: Create a Template

Why are variables "currentDate" and "currentUser" working only in the template "Meeting notes"? When I create my own templates it doesn't work!

1 answer

0 votes

Hi Anastasia, those variables are part of the meeting notes blueprint, and are unfortunately not available in an ordinary template.   You can comment or watch the suggestion here https://jira.atlassian.com/browse/CONF-30567

You can add your own variables to a template, but they do not automatically populate with information from Confluence, but instead provide a popup for the user creating the page to fill in. 

 

John Le I'm New Here Aug 16, 2018

There is an option for "Title of page to be created" macro and you can use @currentDate. This will populate the page with custom title and current date.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,561 views 26 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you