Hello there,
I would like to add a specific label to alle pages of a page tree or maybe even a whole space.
Can someone help me with how to configure an automation, that does the job for me?
Bests
You can use a free app called Pages Manager by Ricksoft.
You can load multiple spaces in there, expand all pages, and apply the label to multiple spaces at once.
Okay, thanks, that'll help.
ChatGPT tells me there is no automation solution for my request, is it right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very likely. I checked triggers on pages and it'd be hard to find a common denominator to label all pages based on existing options that would work without additional manual trigger.
I guess it could be done programmatically (I'm not an expert) but somebody took advantage of that already and built a free app that does that.
There's actually another app - Scroll Variants, which is an extension of Scroll Documents - that can label all pages, or a parent + child pages, but it serves a completely different purpose (Conditional content) and labelling is a part of the setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But I do have the option to set a manual trigger in the automation.
I just don't see how to actually trigger it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try exploring smart buttons - I've never used them, but if I understand it correctly, you would have to manually visit every single page.
https://support.atlassian.com/cloud-automation/docs/smart-buttons-for-automation-in-confluence/
I'd use the app... :)
(I'm not affiliated with the vendor, I just use the app)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jesper Jordan I had this same problem, "Where is the manual trigger button?!" The documentation always shows it in the top right of any given Confluence page. Well, I gave up on this for a week or two, and then I found it in the ellipsis menu for any given page. I have the same use case as you. I still haven't figured out how to add labels to just a page tree though. My first attempt added all the label to every page in the entire space.
Kind of annoying there are so many "That's not possible, buy this app" answers here. It is clearly possible:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aubrey Robertson what use case did you solve using automation?
As for "I still haven't figured out how to add labels to just a page tree though" it is not what you want to hear but likely requires a paid app.
Here is a screenshot from our doc space using Label Manager by Easy Apps (our app). You can choose any parent page and then add a label to it and all the children in one action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
a sufficient workaround with that free app in combination with automation is an "add label"-automation triggered by a page status change. then bulk-change the status via the free pages manager. Afterwards you might propbably want to the bulk-reset the page status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the hints everyone.
Thing with the free app is, when I want to use it in bulk I overwrite every label that has been there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can run CQL searches in automation rules against the ancestor field:
ancestor = 1234
...should return all pages that are descendants of the page with the ID=1234. (These are the pages that are in the tree rooted in #1234.)
Then, iterate over the result set and add the label to each item.
I haven't tried, but it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
honestly, I don't know where and how to do this.
Are you talking about the automation rule builder?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.
Build a rule that runs this CQL query and adds label to each search hit. Decide if you want to do this periodically or by a user click, and use the corresponding trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jesper Jordan I think @Kristian Klima suggestion to use an app to bulk add labels might be your best bet.
I do not know of a labels app with such automation, sounds like an interesting idea.
We make a label manager app. We would be interested to learn more about your use case if you want to contact us.
Our label manager app. Are a few of them to consider.
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.