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

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
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
Sarah Goff-Dupont
Published 6 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

70 views 2 3
Read article

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