title: JIRA JQL Query - Filter by multiple texts on summary field
body: <p>I have been trying to write the query in JIRA using JQL to exclude user stories having the following text in the summary. How to optimise or union the multiple AND conditions.</p>
  
  <blockquote>
  <pre><code>project = "FOA" AND type = story AND labels = API and summary !~ TECH_STORY
  AND summary !~ TEST_STORY AND summary !~ ABC_Test AND summary !~ 'Drop B'
  AND SUMMARY !~ DOCUMENTATION AND summary !~ XYZ_Test and summary !~ Debt
  </code></pre>
  </blockquote>
  
  <p>Thank you in advance</p>