You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Now that automation is available to use, is it possible to create a rule so that:
When a page is published it automatically inherits all the same labels from the parent page?
I've been looking through documentation but it still isn't super clear for me. TY!
@Darryl Lee @Deb This is a great use case for including smart values within labels. Our team is looking into this to see what options exist. I will follow up after our investigation. Thank you!
@Darryl Lee @Deb The smart value {{parent.page.labels}} is not a valid smart value, which is why it cannot be added to labels. However, you should be able to include valid smart values within the add labels component as long as the output returns valid characters.
Regarding functionality around inheriting parent page label - this cannot be accomplished right now, but we are aware of this concern and will look into prioritizing it based on our other requirements. Thank you for the feedback!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Forgive me if I should create a new question for this, but I've run into issues trying to use (what I think are valid) smart values in labels. For example, {{page.author.fullName}}.
In my screenshot below, you can see that my rule failed with errors, even though the audit log shows the correct value is being retrieved for {{page.author.fullName}}. Am I doing something wrong? And are the smart values that are valid for labels documented somewhere?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ohey @Derek Farr -
Labels can't have spaces.
https://jira.atlassian.com/browse/CONFCLOUD-37363
I guess they need to update the error messages for Confluence:
Good suggestion there to add something like
.replace(" ","-")
or maybe and underscore, if you prefer.
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 extremely helpful response @Darryl Lee! I created a variable with the smart value {{content.author.fullName.replace(" ","_")}} and the rule worked.
Side note: To get the rule to work, I also had to change the colon (:) in my label to a hyphen (-). Seems like colons aren't allowed in labels either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Deb -
Ooooh, I finally get to answer a question about Automation for Confluence. Exciting!
(Upgrades personal Confluence Cloud instance to free trial of Premium...)
Ok, so... the bad news is, it doesn't seem like this is available.
There is an Add label action
There is a Smart Value for parent pages {{parent.page.labels}}
BUT THERE IS NO WAY TO use a Smart Value in the Add labels action. Boooooo.
Feature request for @Sheerine Baucum - I don't see this one filed yet. :-/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Darryl Lee
TY for your answer!
Is this dependent on the type of the plan? Premium vs. Confluence Cloud?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Deb Automation is currently only available in Confluence Cloud Premium.
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.