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

Automatic Page Labeling

Is it possible to add Labels on pages automatically for example setting the Page Name as a label?

6 answers

This is how I did it:

• Create a template. Inside your template insert a Page Properties macro. 
• Inside the Page Properties macro body insert a two column table. 
In the left column list your 'key'. The ‘key’ will be the column heading in the report table.
• In the right column insert a Get-Metadata macro. Use the ‘key’ from the right column in the Name field of the Get-Metadata macro. 
• Save your template. Using Comala Document Management, create a script. To make your any page title populate as a label:


To have the page dynamically update the label if the page name changes:


What is the Key?

Thx for your answer, Michael. I know how to work with templates. This is very comfortable but i have still the following question / use case...


For example: In a Space i have three sections: Applications, Governance, Test. In each section we have meeting minutes:

  • Space Home
    • Application
      • appl meeting minutes --> label: amm
      • ...
    • Governance
      • gov meeting minutes --> label: gmm
      • ...
    • Test
      • test meeting minutes --> label: tmm

To create a new meeting minute i press the button to create a new page using a template. Every page created by using this template has the same labels automatically. I don't want to use three different templates. I just wanna use one template and the label should be used depending on the top sites: application, governance, test...

How can i create dialoques like this one (how to article) ? This is what i like to have for my meeting minutes smile


You can achieve this easily with the Create Page Macro.

OK, thx. I'm going to check this Plugin.

I don't know of any way to set such dynamic data as label.

However you can add labels "automatically" by defining a template and add those labels to the template. Each page based on the template will "inherit" the according labels.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

408 views 2 13
Read article

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