Confluence Attachments macro : filter by "no label" not possible

Corentin Méhat
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.
March 18, 2016

Hello,

on a Confluence page I am using the macro listing all the Attachments to this page. The "filter by label" works perfectly for files WITH a label, but I would also need to be able to list all attachments that were not labeled in anyway yet. 

I tried the following with no luck : "(none)", "NONE" ,"NULL", "not in ("label1", "label2") " and a few others.

 

 

Question 1 : in the attachment macro, how can I list only attachments that do not have any label set ?

Question 2 : in the attachment macro, how can I list only attachments that do not match some specified labels ?

 

Thanks in advance for your help

1 answer

1 vote
Corentin Méhat
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.
April 17, 2016

FYI, this question lead to the following suggestion : https://jira.atlassian.com/browse/CONF-41419

 

Stephen Deutsch
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.
April 18, 2016

Sounds like the Confluence attachment macro would benefit from the same CQL upgrade as happened to the "Content by Label" macro, for example smile

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events