Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Due date quick filter Kanban board

Egunsuren
Contributor
August 12, 2019

Hi


Our issues require us to put due dates in. I would like to add 4 quick filters based on due dates: This week, Next week, In Two weeks, Next month.

I have tried many things, but I cannot get the exact filter I want. What I need is basically filters based on work weeks Monday-Friday.

I currently have this filter for 'Due date this week': duedate <= startOfWeek(5d) AND duedate > startOfWeek(). This works, but the other filters I am having problems with.


Say it is monday today. There is an issue X with a due date set to next week Friday. I need to be able to see this issue X when I click the quick filter 'next week'.  I am not seeing something simple?

Kind regards and thanks in advance
Enis Günsüren

 

1 answer

2 votes
Jack Brickey
Community Champion
August 12, 2019

haven't proofed but try this as a starter. tweak as necessary...

this week: duedate >= startOfWeek() and duedate <= endOfWeek()

next week: duedate >= endOfWeek(2) and duedate <= endofweek(7)

Egunsuren
Contributor
August 18, 2019

Hey thanks for the reply!


This week works, but next week does not. Could you elaborate on your thought process? I don't quiet understand how endOfWeek() works.

Like # people like this
Rachel Margaret
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2023

This works for me

next week: duedate >= endOfWeek(1) and duedate <= endofweek(1)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events