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.

Thanks,

bop

2 answers

This widget could not be displayed.

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

bop

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.

This widget could not be displayed.

Hi,

You could do it with Label Manager for Confluence plug in.https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager
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:http://www.confluence.kostebekteknoloji.com/display/PLUG/Label+Manager+for+Confluence
Regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday 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...

204 views 2 4
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