I am trying to create a query to find Jira issues in a project that include the Comment text "Ready for UAT" but exclude the Comment text "UAT done".
In other words, if Comments in an issue only include the phrase "Ready for UAT" then display that issue in the results. However if the Comments in an issue include both "Ready for UAT" and "UAT done", then exclude that issue from the results.
I've tried various combos of ~ and !~, AND and NOT, etc. but nothing succeeds so far.
For example,
project = ABCD AND Comment ~"Ready for UAT" AND Comment !~ "UAT Done"
does not succeed. It still shows results that include both phrases.
Any suggestions?
The problem is that you have UAT in both. I would try something like
project = ABCD AND Comment ~"Ready for" AND Comment !~ "Done"
I just tried the recommended solution but got the same unsuccessful result. It is still including issues with both strings in the Comments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.