Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

What's the main difference between "Excluded Term (-)" and "NOT (!)" when doing Advanced Search?


I understand that NOT is equivalent to a difference using sets and it excludes documents that contain the term after NOT. I also know that NOT cannot be used with just one term, however, I'm not quite sure what would be the best use case for NOT and "Excluded Term (-)" when conducting Advanced Search. What are different use/search examples for NOT and "Excluded Term" since they both exclude the term after the keyword.

1 answer

1 accepted

0 votes
Answer accepted

Excluded term runs a text search that excludes the given string. Text fields

Not refers to fields' values, finding a field with a value that is not that string, number, option. That is, text fields and other field types

Thank you! So then, if I say assignee = "atlassian" NOT "jira", it would look at the value of assignee field and would not show me any documents/issues with the assignee "Jira".

If I search for "atlassian" -jira, it will show me all issues that contains the text/word "atlassian" but will exclude the word "jira".

Suggest an answer

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

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

315 views 1 5
Read article

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