Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Create from Template Macro : pass variables ?



i use some template of my own in my user space, with **variables**. Normal.

In order to call that template, i use another page with the _Create from Template Macro_. Not shocking.

Can anyone tell me if there is a possibility of passing some of my (two) needed template variables, in parameters to the _Create from Template Macro_ buton ? It could save me (a lot of) time !

Thanks in advance for your interest in this topic.

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 11, 2021

I am afraid this can't be done.  The problem is that the create from template macro takes a set of parameters that you define when editing (even when it's creation or the page is being generated by code), and the macro editing function doesn't recognise variables, it won't try to look into the contents, it'll just take the variable name as the parameter.

I think the only way you could do this would be to write your own "create from template" macro - one that accepts parameters that are variable names, and then when it runs, the code knows to interpret those as variable names and go ask Confluence for the current content of the variable.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events