Using Ancestor in Automations with CQL

Rhys Gottwald
Contributor
September 1, 2024

Hi I want to make an automation that is triggered if the pages ancestor is "Knowledge"

I see I have to use the page ID to do do this, but I would like to do this with page title, so that I can apply the automation to any space and any page that has an ancestor titled Knowledge.

Is there any way to achieve this?

 

1 answer

1 accepted

1 vote
Answer accepted
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2024

I don't think so.

CQL would need a feature called "subqueries" and then you could write something like this:

ancestor in (title = "Knowledge")

...but subqueries are not available.

Note that JQL (the similar query language in Jira) does not support subqueries, either, but there are apps for JQL that implement that concept.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events