Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Vita Gilin April 22, 2021

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

0 votes
Thiago Masutti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2021

Hi @Vita Gilin 
I hope you are well.

The ancestor directive won't work when filtering for attachments.

You can use the container filter option, but that requires you to list all the target pages that may contain the attachment.

Also, other filters, such as label, will apply to the attachment and not to the page.

Let me know if that helps.

Kind regards,
Thiago Masutti

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events