Forums

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

Question on Labels and filters

Tanvir Bonnie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2023

Hello All!!

 

for an example, I have project 'ABC' and have 10 issues in it. There are 5 labels associated with them. Now for Issue#1, the labels are [E, F, G] and for Issue#2, the labels are [E, X, Y]. I am trying to setup the filter in such a way that both the issues come up in the search result.

 

project = ABC AND issuetype in (standardIssueTypes(), Bug, Story, Task, Sub-task) AND status in ("In Progress", Assigned, Backlog) AND labels in (E,F,G) AND labels != X AND Labels !=Y Order BY project ASC, priority DESC, updated DESC.

 

this gives me the Issue#1, not the Issue#2.

 

Any idea how I can set this filter

 

 

1 answer

0 votes
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.
January 10, 2023

Welcome to the Atlassian Community!

Your filter explicitly says "not label X" and "not label Y", which removes issue#2 from the results.

Get rid of those two clauses and your filter will return issue#2

Tanvir Bonnie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2023

Thanks so much!! 

My objective would be to bring up all the issues that has Label=E 

Now when I am doing : 

labels in (E,F,G) AND labels != X AND Labels !=Y

it filters the Issue#1 but I need Issue#2 to be appearing in my result too provided that the Pie Chart shows Label E only, not Label X and Label Y.

 

Sorry, Hope this makes a little bit of sense

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.
January 11, 2023

Yes, that was clear from your question.

You need to stop using "and labels !=X and labels !=Y" in the filter.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events