Forums

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

Filter !=bug and !=task with component != doesnt work

Deleted user February 11, 2022

Hello,

i wanted to filter for issues which are not Bugs and not Tasks. Additionally these issues should not have the component !=WS10. However, tasks and bugs are still shown in backlog if i filter:

My query: issuetype != Task or issuetype != Bug and component != "WS10 Arbeitsvorrat" 

I also tried:

issuetype = "Change Request" or issuetype = Story AND component != "WS10 Arbeitsvorrat" or component is EMPTY, but then some stories disappear where component is None.

jirax.PNG

Maybe the solution is somewhere inbetween my two queries. Thanks for your help!

3 answers

1 accepted

2 votes
Answer accepted
Mikael Sandberg
Community Champion
February 11, 2022

Hi @[deleted],

Welcome to Atlassian Community!

Try this JQL:

issuetype in ("Change Request", Story) AND (component != "WS10 Arbeitsvorrat" or component is EMPTY)

0 votes
Deleted user February 11, 2022

Hi Mikael,

thanks for your help, it worked! :)

0 votes
Bastian Stehmann
Community Champion
February 11, 2022

Hi @[deleted] ,

You tried issuetype != Task or issuetype != Bug and component != "WS10 Arbeitsvorrat

That is the same as

issuetype != Task or ( issuetype != Bug and component != "WS10 Arbeitsvorrat)

So it will select everything that is not a task and all bugs with that component.

If I got you right, you want no Task, no Bug and no other issues with that component. 

I think this should do

issuetype != Task and issuetype != Bug and component != "WS10 Arbeitsvorrat

Deleted user February 11, 2022

This solution doesnt work for me, because issues with component "none" are filtered out. With the solution of Mikael it worked though.

But thanks for your help!

Bastian Stehmann
Community Champion
February 11, 2022

Yes, I missed the is empty part

issuetype != Task and issuetype != Bug and (component != "WS10 Arbeitsvorrat or component is empty)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events