Is there any way to edit labels, individually or in bulk, with Confluence 3.5?

Hi all,

I'm looking to find a way to edit labels, individually or in bulk, with Confluence 3.5. I guess that I can resort to use the XML-RPC api, but wouldn't it be more convenient if there was a GUI to do that? I can't find any documentation about it though, not even with more recent versions.



3 answers

Not sure what you mean by edit labels. If you mean add and remove labels from various pages, addLabels from Confluence Command Line Interface can be used for bulk changes.

For changing or splitting a label and modifying all content to correspond to the change: This is more difficult and there is no built in solution. However, the building blocks are there with addLabels and removeLabels. So you need to add the new label(s) and remove the old label(s) from each page. You can use runFromSql action with a suitable SQL query against the labels and content-labels tables in the confluence database. Don't have time right now to construct it for you.

Let me explain with an example. Let's say that I start tagging pages and blog posts with the label "confluence". Then, one day, I decide that I want to split "confluence" in "wiki" and "atlassian". That is to say that I want all pages and posts that have the label "confluence" to have "wiki" and "atlassian" instead. Does it make sense?

Splitting is the most common operation. Other operations can be remove (get rid of that label from all the pages where it's used), rename or actually create: what if I want to assign the label "sport" to all pages that match a search for "football basket rugby"?

I think that in our case splitting is the most relevant though.



Thanks for describing the detail. I kind of figured you were talking about something like that. Let me update the answer portion with more detail.


You could do it with Label Manager for Confluence plug in.
You could search for similar labels in a space and then merge them into one standard label.
You could also do bulk operations like appending , adding and removing labels.
Documentation is here:

Hi @Piergiuliano Bo,


We have recently made a free plug in Power Scripts for Confluence which you can download from the Marketplace to help automate Confluence administration, one of the features is bulk label admin. Here's the script:

And here is a YouTube playlist showing other useful bulk admin actions you can do with Power Scripts for Confluence. 

Hope this helps!


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,317 views 93 8
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