Hello,
I'm struggling with a JQL query to filter results in several time windows. I need to filter some issues outside business hours, so:
- from Mon to Fri from 8:00 p.m. to 8:00 a.m.
- from Sat to Sun anytime
These are the query that I have deployed, but I'm missing something in the syntax because the result I have are inconsistent:
- (("Date and time TT Processing[Time stamp]" >= startOfDay()) and ("Date and time TT Processing[Time stamp]" <= startOfDay("+8h"))) OR (("Date and time TT Processing[Time stamp]" >= startOfDay("+20h")) and ("Date and time TT Processing[Time stamp]" <= startOfDay("+1d")))
- ("Date and time TT Processing[Time stamp]" >= startOfWeek("+6d")) OR ("Date and time TT Processing[Time stamp]" < startOfWeek("+8d"))
Can someone please tell me whaat I'm doing wrong?
Thanks.