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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Creating local variable on confluence page


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 :)

2 answers

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.

Is this still the case, that Cloud platform does not support it?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events