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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Creating local variable on confluence page Edited

Dear all,


I'm looking for a solution, which lets me create a sort of local variable, that I can assign and use in the Confluence page.

Some example:

var tblLength = length_of_the_table_on_the_same_conflu_page;

Later in the text, I can call the variable like this:
'Lorem ipsum contains {tblLength} items'
And receive output like:
'Lorem ipsum contains 43 items'

I'd really appreciate any help :)

1 answer

1 accepted

0 votes
Answer accepted
Diego Atlassian Team Jan 29, 2020

Hello @Kacper Szczepanek !

I believe that I understand the desired behavior. However, natively we are not able to perform such in our Cloud platform. Here we can check the differences between Confluence Cloud and Server:


In Confluence Server we can achieve something pretty close to that by using User Macros or Plugins available from our Marketplace:


I hope this shines some light into your objectives, Kacper! Looking forward to your reply.

Hi Diego,

You were right, Easy Confluence Variables will do the job. But unfortunately, we are using the Cloud platform and can't switch to the server version.

Anyway, I really appreciate your help :)


Like Diego likes this
Diego Atlassian Team Jan 31, 2020

Thanks for keeping the thread alive, @Kacper Szczepanek ! Come share with us sometime in the future.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

👋 Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with im...

183 views 6 6
Join discussion

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