I searched high and low for this but found nothing about it: Is it possible to modify space categories with the Confluence CLI? We're looking to create a large amount of spaces automatically, but if we have to categorize every single one by hand afterwards, we've run into a brick wall with Confluence.
Hello @David Reis,
You can space categories (aka team labels) to a space using runFromSpaceList. Please use the following command to add a common space category to all spaces.
confluence --action runFromSpaceList --common "--action addLabels --labels team:category1 --space @space@"
You can also use --regex option to filter out the spaces.
Thanks,
Swathi
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.