Filtering Jira ticket to Exclude labels In Confluence

jfuentes November 16, 2020

So currently the method suggested to filter labels is to use the "AND Labels=XYZ". But in reality this not help exclude labels only create a white list of Labels.  So what if the task have various labels and you only want to exclude one.  Are you saying I have to write a syntax for every label I want included?  That would be annoying if I have lets say 30 labels and only wanted to exclude 1 then I would have to write 29 AND Label syntax parameters. 

I would like to know how to exclude label not just include the ones I want

2 answers

2 accepted

2 votes
Answer accepted
Katerina Kovriga {Stiltsoft}
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.
November 16, 2020

Hi @jfuentes ,

You may try the Table Filter and Charts for Confluence app. 

Wrap your Jira Issues macro in the Table Filter macro and set the required filter:

Mon 2-1.pngHere I use the Resolution field cause we don't use labels, but you may choose the Labels field or whatever field you need.

Then go to the Filtration tab and set the reversed filters to exclude items from your table:

Mon 2-2.pngHere is a screenshot for the page view mode:

Mon 2-3.pngIt will be intuitive for your colleagues to choose what labels to exclude. 

The filter can also be saved for other users if required.

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
November 16, 2020

You could say "and labels != <unwanted label>"

jfuentes November 16, 2020

AND labels != "discard"

jfuentes November 16, 2020

It juts filters all but 2 which is odd because none of the one filter are the ones I wanted filtered

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events