Forums

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

Use Attachment Macro to include one label but exclude another

Dean Robinson June 18, 2020

Hi,

I am trying to get a filtered list of attachments on a page using the Attachment Macro. I would like to have the macro show attachments that have "labela" AND NOT a label of "summary".

Is there a way to achieve this?  I was trying with    labela, -summary    in the label criteria but this does not seem to work.

The other option I considered was specifying labela in the label criteria of the attachment macro, then then excluding files that have a filename pattern that include "Summary" in the filename. However, I also seem to have difficulty working out what the filename matching pattern would be to exclude files with the text "Summary" in the filename somewhere.

Any help appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events