Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,883
Community Members
 
Community Events
168
Community Groups

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 S 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

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

175 views 1 6
Read article

Atlassian Community Events