How can I strip out a label from a query?

Hi everyone! 

I'm quite comfortable with JIRA... except JQL queries!!!!

So I want to create a filter that captures all tests in a project WITHOUT a label! I'm inputting syntax which to me makes sense, but alas with most of my queries JIRA says no sad Could anyone help me input the right syntax? This is what I've input:

image2016-2-11 11:8:57.png

Thanks in advance everyone!

Brett

3 answers

This widget could not be displayed.

Have you tried the syntax 

 

labels is null

 

Rahul

This widget could not be displayed.
Steven Behnke Community Champion Feb 11, 2016

Hm, shouldnt you use != instead of is not?

 

is and is not are for checking for empty valuea, ie labels is not empty. 

This widget could not be displayed.

Thanks for the answers!

@Steven Behnke I tried that with the same result.

@Rahul Aich @Rahul Aich [Nagra] I will try that thanks! Though I will be back to my original issue if we attach any labels on them haha

 

Any other comments from people will be most welcome! Thanks

Steven Behnke Community Champion Feb 11, 2016

Can you clarify, you want to find issues with no label, or issues without a specific label. 

I want to run a query that strips out a label... so I want it to return all tests that do not have a specified label

have you tried

labels != YourLabel or labels is empty

put this in brackets if you have additional conditions in your filter

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

119 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you