Hi,
OUTCOME
I want to create an automation rule that adds a label (or labels) to a page based on the parent folder it is assigned to.
e.g.
WHEN a page is edited
IF it is in Folder X
THEN add 'label-1' and 'label-2'
Is this possible?
Thanks.
Adding labels to Confluence pages based on the parent folder doesn't seem to be supported yet.
There is an enhancement request that I found:
https://jira.atlassian.com/browse/CONFCLOUD-80608
Hi @Dan Kidd -- Welcome to the Atlassian Community!
Currently, there is no smart value for a page's parent type with that rule trigger.
As a workaround, you may use the Send Web Request action to call the REST API endpoint to get the page by its ID, and then check if the parentType equals "folder".
Kind regards,
Bill
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.