It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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

1 vote
Andy Heinzer Atlassian Team Sep 22, 2017

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.

Andy Heinzer Atlassian Team Sep 25, 2017

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.

thanks this helped with issueLinkType in ("is blocked by")

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
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

274 views 1 2
Join discussion

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