bulk modify label for all documents in confluence

I would like to change a label in globally on all documents of confluence there is a way to do this without affecting the document one by one?


5 answers

1 accepted

My way of doing this would be to stop Confluence, locate the label entry in the database and update it there, then restart Confluence.

disclaimer - backup everything first

Hey @Calogero Bonasia (MySelf)

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:


Hope this helps!


hello and thank you for your answer, in fact I wanted to vote for it as a more useful answer but I can not do it anymore, the plugin that you reported to me is very convenient.

Like 1 person likes this

Wow thank you!! I'm glad you like it! We have just made a few tutorials on YouTube which might be useful for you to look at. https://www.youtube.com/watch?v=nM0a8JM2T2E&feature=youtu.be&list=PLKTAla3ZrW8mMmYvgOVf3UPXU8V4nc-xj


If you have a spare 2 minutes, please think about leaving us a review, we'd be very grateful! https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=reviews 


If you have any other questions, please let me know.


Like 1 person likes this

Hi, The YouTube tutorial link is broken.

Like 1 person likes this

Yes I confirm

The YouTube tutorial link is broken

@Michele Lim [cPrime]

Like 1 person likes this

Yes, this works; thanks!

Also, is there a way to do a bulk change to labels? Specifically, I want to replace all label underscores with hyphens:


this_label  >> this-label

Thanks for the fast response! Did you check out this script? 


I think this should solve it right? 

I'm getting a page not found error. I think the link you're thinking of is https://confluence.cprime.io/display/CTR/Replace+a+label+with+a+different+one

I'm actually chatting about my question now with Jonathan Muse. :)

It looks like the Power Scripts are not available for the Cloud; bummer! 

As Davin said, the Label Management Tool should be able to help you out.  

Are you running OnDemand/Confluence Cloud?  If so, feel free to comment this answer; I have written a Confluence Connect Add-on that also allows you to rename labels (and also add/remove watchers and move/delete pages), and I'm looking for a few beta testers, so if you want to try it out, let me know.

no, I'm running on standalone server instance

1 vote

Kind of covered off by this as well: https://jira.atlassian.com/browse/CONF-7681

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

281 views 2 11
Read article

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