JQL Limitations
JQL queries should be based on issue properties.
Queries that rely on time comparisons, time-based functions – now(), endOfDay(), startOfDay(), endOfMonth(), etc. – or other variables that could change independent of issue changes, may not work properly with Slices, and should be avoided.