Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to reuse an existing variable in a template

Bill Stephens
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2020

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 S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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

Josh Kaiser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2021

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

Chris Beswick
Contributor
March 1, 2021

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
carl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 29, 2021

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
AUG Leaders

Atlassian Community Events