How do I create a JQL query, for a JIRA Agile swimlane, that displays all tasks due on the closest Wednesday in the future. For example, today is Monday and I want to see all tasks due on Wednesday (in two days). If today is Thursday, I want to see all tasks due on Wednesday next week.
One solution I have found it to use the following query, but it forces the due date to always be set on a Wednesday:
duedate <= 6d
I have also tried something with endOfWeek
, but is only works in my Monday example and not in my Thursday example.
duedate <= endOfWeek(-3d)