bulk modify label for all documents in confluence

Deleted user September 8, 2014

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

2 votes
Answer accepted
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2014
4 votes
Michele Lim [Cprime]
Contributor
November 27, 2018

Hey @[deleted]

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:

https://confluence.cprime.io/display/CTR/Replace+a+label+with+a+different+one

Hope this helps!

Michele

Consulente Atlassian
Contributor
December 1, 2018

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 Michele Lim [Cprime] likes this
Michele Lim [Cprime]
Contributor
December 3, 2018

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.

Michele 

Like # people like this
Chela Wallace December 4, 2018

Hi, The YouTube tutorial link is broken.

Like Consulente Atlassian likes this
Consulente Atlassian
Contributor
December 5, 2018

Yes I confirm

The YouTube tutorial link is broken

@Michele Lim [cPrime]

Michele Lim [Cprime]
Contributor
December 5, 2018

Sorry @[deleted] and @chelawallace can you try this one? https://youtu.be/nM0a8JM2T2E?list=PLKTAla3ZrW8mMmYvgOVf3UPXU8V4nc-xj

Like Consulente Atlassian likes this
Chela Wallace December 5, 2018

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

Michele Lim [Cprime]
Contributor
December 5, 2018

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

https://confluence.cprime.io/display/CTR/Replace+a+label+with+a+different+one

I think this should solve it right? 

Chela Wallace December 5, 2018

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

Chela Wallace December 5, 2018

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

Thiago Schmid
Contributor
March 27, 2019

@Michele, will be this add-on ever be available for the cloud version?

2 votes
Steve Thornhill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2014

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

1 vote
Sherif Mansour
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2014

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

1 vote
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2014

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.

Deleted user September 10, 2014

no, I'm running on standalone server instance

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events