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