Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,985
Community Members
 
Community Events
165
Community Groups

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

Edited

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

"

 

 

2 answers

1 vote
Mikael Sandberg Community Leader 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?

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

1 vote

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

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 Leader 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.

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 Leader 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

Unfortunately that didnt work.

Annotation 2022-05-14 171318.jpg

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 Leader 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 Leader May 22, 2022

@Sebastian Somi  did you try my last post ?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you