Confluence - how do you automatically populate $documentOwner variable for custom template?

Using Confluence.  The Product Requirements template automatically populates the $documentOwner field.  Is there a way to do this for a variable in the custom template?  Looking to capture the creator of the page in the Page Properties macro. Thanks!

5 answers

Also looking for an answer on this. Simply copying from another template doesn't work. Looking for the user selection available on Product Requirements.

Me too, started the same approach in just copy and paste but this is not working.

I also would like to know how to use these variables in custom templates and if there is a list somewhere for all available ones.

0 vote

That is currently not possible but there is a feature request to allow for access to common variables for use in templates through the template editor.

I would recommend that you watch and vote for the feature.  You will then recieve updates about this request and know when it has been compelted. 


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
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