I want to add a label to Confluence pages if they have child pages. Basically, all parent pages need a label applied.
IF: page has child -> THEN apply label to page
WHEN: page no longer has children -> remove label
There is no specific page title or content I can target on parent pages since we have various uses in our space.
Is there a way to do this with Automation or Scriptrunner?
I have been trialing Scriptrunner, which I think can do what I'm asking, but unfortunately, my coding skills are not up to par for such a custom script.
I did figure out a script after lots of trial and error. Problem solved.
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.