Hi!
I am trying to use a confluence cli command to remove one label from all the pages in one space (and remove the label from the space at the same time). I found a code I could use at: https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+remove+a+label+from+a+set+of+pages
But I can not get it to work for me - it keeps returning an error "Error: Unexpected argument: removeLabels".
This is the code I am using (to remove the label 'purple' from the space 'MUMB'):
--action runFromPageList --space MUMB --common '--action removeLabels --labels purple'
Any advice what I might be doing wrong?
Thanks,
Daniel
Try this:
--action runFromPageList --space MUMB --common "--action removeLabels --labels purple --id @pageId@"
Hi Bob,
Thanks so much! That works perfcetly!
Is there a way I can use the "@all" for the space entry?
Best,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I don't think so. You would need to use runFromSpaceList to drive your existing command, just have to watch out for the quoting. I opened CSOAP-289 for you for direct support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.