Is it possible to pass variables to an included page?

I would like to be able to define a page that can be included on other pages as a footer. One of the things I would like in this footer is some content by label. Is there a way for me to set the labels that should be used in the content by label macro so that it matches the parent page?

For example, on a page about dogs I would like to display knowledge base articles about dog as well as open JIRAs that are about dogs.

Is this possible/advisable?

1 answer

1 accepted

This widget could not be displayed.

Use this macro in the included page -

This will show all the related content based on the labels applied for the parent page.


The link you included does not work for me, are you refering to "Content Survey and Reporting"? If so, where can I find documentation for that plugin? I cannot find anything at


Somehow an additional dot came at the end of the link -

Yeah it is 'Content Survey and Reporting'

Unfortunately there is no docs for that.

Thanks for your answer Renjith.

Is it possible to specify a list of spaces (and page types) for the macro?

As an aside, why is this macro packaged with the survey plugin? It does not really seem related and it sounds like something that could be useful in the base product.


Frankly, no idea. Check the code and see the features.

Thanks for your advice.

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

460 views 6 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you