The below query is still pulling Closed tickets from the project and I am not sure if I am just writing the query wrong or what other cavats I am missing here.
project = "PROJECT" AND comment ~ term1 OR comment ~ term2 AND status not in (Closed, resolved)
Thank you for your help
Can you try this...
project = "PROJECT" AND (comment ~ term1 OR comment ~ term2) AND status not in (Closed, resolved)
Just a little context here, you should consider an OR statement as a break in your JQL. Any thing you introduce an OR (without enclosing it in brackets) it will break up your query.
So in your example you basically said:
project = "PROJECT" AND comment ~ term1
OR
comment ~ term2 AND status not in (Closed, resolved)
So your second status limitation does not reflect the first part. The way Jack mentions it you'll actually use both OR comments as a single statement and all AND's will be concatenated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.