I am adding comments to JIRA tickets with keywords like apxXYZ, apxABC etc and need to catch tickets that have, or do not have, these keywords. To that end, I add following clause to the JQL query, which is working in most of the cases.
For example: when I add AND NOT ( text ~ "apx*" ) I get all the tickets that do not have the keywords, If I drop NOT, then I get all which have the keywords.
However, in one case I don't get anything in both the cases, and that is intriguing. None of the tickets in that case have the keyword matching "apx*", but still even the clause NOT ( text ~ "apx*" ) doesn't get me any results.
BTW, when use comment instead of text, it never works. That is confusing too!
The document says that NOT can't be used on one parameter - but I am not clear what that means. Any clue what must be going on will be really appreciated! Thanks.
Discovery: I observed that the generic keyword text to check all text fields doesn't work consistently. I was adding keywords in comments and trying to find all issues with specific keywords. Field comment also did not work. However my attempt to use description is working ... so far. Fingers crossed.
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.