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

1 vote
Gaston Valente Community Champion Oct 30, 2017

Anastacia,

Try with:

summary ~ "-term1 -term2 -termN"

@Gaston Valente 

Thank you so much, it worked perfectly!

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,007 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you