Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rules - add label based on parent folder

Dan Kidd
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 24, 2025

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.

2 answers

1 vote
Rajat Singh
Contributor
July 24, 2025

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 

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 24, 2025

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events