Confluence templates variables don't work

I can't seem to be able to make variables in a template in Confluence. I can't seem to find how to make variables in the system. Where can I find a how to enable variables?

3 answers

1 accepted

0 votes
Accepted answer

In my case the "Create variable" option is automatically highlighted and so a click on the space key will also do and have the same effect. All you have to avoid is to mouse click somewhere else because this will remove the highlighting and then you get "nothing".


I don't know if I understand your question correctly because to me it seems so easy and self-explanatory:

Create a template:

  • Browse > Templates > Add new space template

Add variables:

  • Type the dollar sign plus the name of the variable that you want to create plus the space key or
  • Click on "$ Variables v" from the top menu

Perhaps you can be more specific about where you get stuck?

Steffen; thank you for your answer; the problem is when I type the $ or select it nothing happens. I should be able to see a drop down like this:

The problem is I don't see that!

I don't see that drop down list either and my page looks quite different from the screenshot. And sometimes I also type $ plus something and it won't convert it into a variable. So I also thought I made something wrong but then suddenly it all worked.

Just a guess:
You could have a look at "Settings > Your settings: Editor" and see if you have disabled Autocomplete and/or Autoformatting.

Ha, found it. What I should do is type $putnamehere and then simply click on Create variable. Tsss, UID could do better...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,147 views 62 8
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