How can I delete all the labels in a Confluence space, using the Confluence CLI?
The CLI code I'm interested in should fetch all the labels used in a space, and delete them, without knowing the label names in advance (for example, there are over 150 labels per space).
Thanks for any further info,
Would it be possible to see a Confluence CLI example that does that? I'm new to Confluence CLI, and have been unable to construct the right command statement to remove all the labels from the space. Also, it's not about removing a specific label from a set of pages. In my case, I don't know the label names in advance, or how many of them exist. I need to aggregate them and then remove them from the space. Is there a way to do that?
--action runFromPageList --space SPAC --common "--action removeLabels --labels purple --id @pageId@"
I know this example. My question is, how do I combine "getLabelList" (to aggregate all the labels, since I don't know them in advance, and there are over 150 of them) with "runFromPageList" over a specific Confluence space in a single CLI command?
Unfortunately I'm not familiar enough with the CLI which is a third-party add-on, but hopefully the team behind it will see your question here and be able to assist you with that. I have properly tagged it so they can see it.
Otherwise you can consider contacting them directly and they may be able to assist you there.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
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!
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