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

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

545 views 15 18
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