Reputation: 371
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.
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
Thank you in advance
Upvotes: 1
Views: 7174
Reputation: 61
This seems to be working but I would urge you to test it in your environment:
summary !~ "first_match OR second_match OR third_match"
Source: JIRA Advanced Searching and JIRA text search syntax
Upvotes: 3