Forums

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

"status not in (Done, Closed) AND assignee in (currentUser()) AND labels != "Permanent" doesn't work

Sebastian Somi May 13, 2022

I have a task open that is assigned to me, with this label

"

 

 

2 answers

1 vote
Mikael Sandberg
Community Champion
May 13, 2022

Hi @Sebastian Somi,

Welcome to Atlassian Community!

You may want to add some more information here, are you saying that you have an issue assigned to you with the label Permanent and you are seeing that issue when you run the above filter?

Sebastian Somi May 14, 2022

Hi Mikael, thanks for your reply. I added some pictures, which illustrate the problem above in my reply to Moses. Kind regards.

1 vote
Moses Thomas
Community Champion
May 13, 2022

Hi @Sebastian Somi 

Could you please try like this it should work 

status not in (Done, Closed) AND assignee in (currentUser()) AND labels != "Permanent"

 

 

Kind regards,

Moses

Sebastian Somi May 14, 2022

Hi Moses, thanks for the reply. I made a typo in the title, which I already fixed. Anyways with your query it cant find any issues, however there should be at least 2.

 

Annotation 2022-05-14 161213.jpgAnnotation 2022-05-14 160827.jpg

Moses Thomas
Community Champion
May 14, 2022

@Sebastian Somi The query is correct,you can see it is green. I have tried it and it worked, if you say label !="Permanent" it means that it will exclude all items that have label ="Permanent" from the image  you showed item with label as Permanent. So I don't get it.

Sebastian Somi May 14, 2022

I would like to exclude all tasks that have the label "Permanent". 

The following query also works, but then I loose also any tasks with any label:

status not in (Done, Closed) AND assignee in (currentUser()) AND labels = EMPTY

Moses Thomas
Community Champion
May 14, 2022

So try and let me know the result

type = "Task" AND Status not in(Done,Closed) AND assignee in (currentUser()) and labels not in("Permanent")

Kind regards,

Moses

Sebastian Somi May 14, 2022

Unfortunately that didnt work.

Annotation 2022-05-14 171318.jpg

Sebastian Somi May 14, 2022

It finds the issues when I do the opposite, but i want to see the opposite set.

Annotation 2022-05-14 171557.jpg

Moses Thomas
Community Champion
May 15, 2022

@Sebastian Somi  OK  save this filter as "myfilter"  

myfilter= status not in(Done,Closed) AND assignee in(currentUser()) AND labels = "Permanent"

Then type the below JQL

filter  != myfilter

 

KInd regards,

Moses

Moses Thomas
Community Champion
May 22, 2022

@Sebastian Somi  did you try my last post ?

Suggest an answer

Log in or Sign up to answer