Forums

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

Can I target a query based on a label of a parent page?

benjaminbach
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

Automation based off a page id or title is hardly automation, as a new rule must be made for each page. 

I'd like to have a rule, where, upon editing a page, if the parent page of that page has a label x, label x is applied to the page which was just edited, and if that page had label y, label y is removed.

the rule as written "validates", and a very similar one was offered by the AI bot, and it even "triggers" in the audit log, but it does not actually work. 

Is
`IF {{page.parent.label}} contains x` 
valid approach?

3 answers

0 votes
Lucas Modzelewski _Lumo_
Atlassian Partner
July 25, 2025

I’ve built an app to sync labels. Currently, it supports syncing labels to the parent page based on included pages.

In the future, I plan to add more dynamic behaviors, like two-way syncing, syncing across the page tree, and even turning folders into labels (that one's still a work in progress 😉).

You can check it out here (and add it to your watchlist to get notified about new versions): https://marketplace.atlassian.com/apps/1238065/smart-label-sync?hosting=cloud&tab=overview 

0 votes
Aron Gombas _Midori_
Community Champion
July 24, 2025

You cannot access the attributes of the parent using smart values. In fact, the set of smart values is fairly limited.

Suggest an answer

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

Atlassian Community Events