How to write a JQL for Team NOT equal to

Hi All,

I am trying to write a JQL with the Team not equal to, but I haven't been successful and the JQL is not returning anything.

Not successful

Team not in 87


Team != 87 

but I am able to query as follows 

Successful Queries

Team = 87


Team in (87) 

What I am missing?  

3 answers

1 accepted

1 vote
Accepted answer
Raguram I'm New Here Dec 10, 2018

Try Team not in (87) or Team is not EMPTY

0 votes

The values for that field also include the possibility that the issue in Jira is NULL for that field.  This commonly happens anytime that specific field has no value at all yet.   In those cases the issue isn't actually returned by a query of


Team != 87


Instead you will likely need to include an additional query to look for issues that might have a NULL value (empty value) for that field, such as with:


(Team != 87 OR Team is EMPTY)

This should return both issues with any other value for that field and issues without any value for that field.


This did not resolve the problem, not sure what is wrong with JIRA JQL with `Team` param.

Are you using the Portfolio of Jira add-on?  If so, that app for Jira will create a custom field called "Team".  But by default this field isn't actually used the same way as other fields in Jira Core/ Jira Software.  

If you want to make this field display in Jira Software, then I'd recommend following the steps in Showing Portfolio custom fields in Jira Software.

I have encountered the same problem and realized that the fieldname "Team" is somehow referring to 2 fields.

Bildschirmfoto von »2017-12-13 14-19-54«.png

If you use the autocompletion and then write e.g. 


cf[10011] not in ("87")

it might work!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

45 views 0 2
Read article

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