It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Labelling multiple pages in a single action (thru UWC or confluence)

Lis Riba Jul 27, 2011

I'm using the UWC converter to import several hundred pages (a glossary) and I want to assign the same tag to them all.

The documentation on UWC's Label Framework seems primarily guided towards coding and editing the JAR - something I'd rather not do.

Is it possible to do this through modifications to the .properties file, or even independently of UWC?

I see several ways something like this could be done, but don't know how to implement it:

  • Add a line to the properties file which assigns label "foo" to all imported pages
  • Add some kind of label field to all the to-be-converted files which says "label:foo" and add a line to the properties file which converts that string to the label
  • Import/convert all the pages without labels, and then run some macro within Confluence to label all the pages. [I will be importing all the pages to a new dedicated space, but will then move them to an existing space which will contain other pages.]

Any suggestions for how to do this?

4 answers

1 accepted

2 votes
Answer accepted
Lis Riba Oct 04, 2011

I ended up using the Confluence CLI (Command-Line Interface) - extremely useful tool, that.

0 votes
Laura Kolker Sep 19, 2011

There isn't a facility in place (in the UWC) to automatically add a label to every page using a property only. That being said, you could try leveraging a combination of a UWC property with adaptavist's add-label macro .

Something like:

mywiki.1234.addalabel.java-regex=(.)${replace-with}$1NEWLINE{add-label:foo}

This would add a newline and your addlabel macro to the end of every page

0 votes
Martin Cleaver Jul 02, 2013

Check out Ad hoc Canvas' List functionality.

http://www.adhoccanvas.com/features/

Disclosure: I work with Comalatech.

0 votes
Mert Karadağlı May 01, 2014

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

913 views 6 17
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