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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to reuse an existing variable in a template

I have created user-defined templates on Confluence Cloud in the past. In these templates, I often created a new text variable and reused it via "$variableName" in later text to auto-populate the user-supplied value. This no longer works.  

Typing "$" does not work on the new editor and I don't see a keystroke that will enable this feature either. 

Using

  • Confluence 1000.0.0-11e909e1050d

  • Chrome: Version 79.0.3945.88 (Official Build) (64-bit)

According to this page for Confluence Cloud

"Type $ and the variable name, then press Enter to add a new variable or to select an existing variable from a list of suggestions. The suggestions dialog shows variables already defined in this template."

 

1 answer

0 votes
Shannon Atlassian Team Feb 28, 2020

Hello Bill,

Thank you for reporting this to us.

This case has been logged as the following bug:

  • CONFCLOUD-68872 Typing $ to create or list template variables does not work

At this time, there is no known workaround in the new editor. If you need to be able to use the legacy editor and don't have the option, I recommend you contact the Cloud Support team and they can help you with that.

Regards,

Shannon

It's been nearly a year.  Is this functionality still broken?

Yes it appears so

Apparently you can reuse the variable by inserting a new variable using the same type and name

Like carl likes this

I can't use $variable, but I can just create a new variable with the same name (or copy and paste in the editor).   

It doesn't work for me in useful places like in URLs or in code snippets, so I'm stuck.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

380 views 13 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you