Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can i make a filter to exclude MULTIPLE words from the summary?

Currently my excluding section looks like this: 

AND summary !~ XXX AND summary !~ AAA AND summary !~ BBB AND summary !~YYY

I tried

summary !~ ("XXX", "AAA", "BBB", "YYY") 

summary not in ("XXX", "AAA", "BBB", "YYY") 

summary contains not ("XXX", "AAA", "BBB", "YYY") 

None of those are accepted as valid. Can someone help with simplifying my original query?

2 answers

4 votes


Try with:

summary ~ "-term1 -term2 -termN"

@Gaston Valente 

Thank you so much, it worked perfectly!

This helped me as well :) 

How would you do the same query, but using a search term that has a space in the middle?

summary ~ "-term1 '-term 2'  term3" doesn't seem to work...

moving the hyphen outside of the inner quote mark worked for me

summary ~ "-term1 -'term 2'  term3"

That works for me Balazs.  Great job.

Suggest an answer

Log in or Sign up to answer