The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
  • Community
  • Q&A
  • Jira
  • Questions
  • What's the main difference between "Excluded Term (-)" and "NOT (!)" when doing Advanced Search?

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

Nil Ister
Contributor
June 3, 2019

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Matt Doar
Community Champion
June 3, 2019

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

Nil Ister
Contributor
June 3, 2019

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".