Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to show attachments under an ancestor in a space

How to show all attachments of pages in a space under a specific parent?

The following CQL does not return anything:

type = "attachment" and label = "xyz" and space = currentSpace() and text ~ "*.html" and ancestor = "12345"


1 answer

1 accepted

1 vote
Answer accepted
Ollie Guan Community Leader Apr 21, 2021

Hi @Vita Gilin ,

Unfortunately, it does not seem to be supported in the Cloud environment, because user-defined macros cannot be used in this environment.

Sorry, i see now that mistakenly i added the question under Confluence cloud. I will close this thread and will open under Confluence data server. Thanks for your response.

Like Ollie Guan likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

4,393 views 10 51
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you