Confluence:Inserting existing variable in template gives double-dollar and doesn't pick up value

Running Confluence 5.2.3 downloaded.

When I create a new template and create a variable (called firstVariable) it appears as "$firstVariable". When I try to insert that variable elsewhere in the document to pick up the original value it creates and inserts a new variable called "$$firstVarable" which is unconnected to the data in "$firstVariable". Effectively I have to double-up all my variables and use the double-dollar version everywhere.

Surely this cannot be the designed behaviour! I've tried it in different browsers, and in different Spaces but it does the same thing every time. Is this a known issue? Is there some configuration setting I am missing?

Please help!

1 answer

1 accepted

It looks like this is a bug in the "insert template items" button. If I just use the keyboard, type a dollar and select from the pop-up list then the variable is inserted just fine without the double-dollar.

I'll raise an issue with support and see what they say. At least there is a workaround so I don't have to duplicate all my variables!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

97 views 0 6
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