I am using ScriptRunner and I'm trying to select Epics that are not in the current or closed sprints. I always keep two Sprints open the current active and the next sprint.
I am able to produce results using references to existing filters as a predicate, but looking for a solution that may not require referencing saved sub queries.