How do I color cards if they've been in their current status for more than 5 days?

Wendy Sorensen June 2, 2014

I want to use the color card functionality on my Kanban board by making something red if it's been in it's current status for 5 or more days. This does not work: "Time in Status" > 5d nor does "Time in Status" > -5d.

7 answers

1 accepted

7 votes
Answer accepted
Mehmet Kazgan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2014

You can configure the board>card colors and select "colors based on queries" from drop down

Use a filter below for each statuses:

status = Open AND NOT status changed after "-5d"

2 votes
Matthew Vetter January 3, 2020

I know this is old but for anyone running across this like me who are wanting this to work across multiple days with multiple color options then this would work below. I also wanted it to ignore items in To Do or Done so added that as well. 

 

Anything Older than 2 Days

(status changed after '-3d' and NOT status changed after '-2d') AND (status NOT IN ('To Do','Done'))

Anything Older than 3 Days

(status changed after '-4d' and NOT status changed after '-3d') AND (status NOT IN ('To Do','Done')) 

Anything older than 4 days 

Couldn't do this like the others otherwise it trips up since we are looking for anything 4 Days +

(NOT status changed after '-4d') AND (status NOT IN ('To Do','Done')) 

 

Example:

This show what the above does for my board...Screen Shot 2020-01-03 at 8.46.28 PM.png

2 votes
Mehmet Kazgan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2014

You can technically use same color for each status which would get you what you need at the end.

0 votes
Antônio Duarte May 12, 2020

This is an ingenious solution, indeed, but for my particular case, it doesn't work: I have a "transition to itself" that runs every night by an Automation process.

Although the transition is from a state to itself, for Jira it counts as a "status change" even if the status, in this case, didn't change at all!!!

Any good sugestion, please?

0 votes
Phillip Krall February 12, 2020

I would like a similar JQL based on the status being changed, but I want to not count the weekends. So currently, if the status was changed on Friday, but the time monday comes in the color has changed, but is not desireable. Does anyone have any ideas?

0 votes
Mehmet Kazgan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2014
Sure, can you do me a favor and accept My answer
0 votes
Wendy Sorensen June 3, 2014

The NOT status changed after "-5d" worked. Thanks!

Suggest an answer

Log in or Sign up to answer