Forums

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

JQL colouring

Gary October 22, 2024

Looking for some help on the correct JQL for colouring cards based on due dates within issues.

I have tried to write a JQL to colour a card amber if due date of task is within 3 days, I have additionally tried to write a JQL to colour a card red if the due date is today or over due.

This hasn't worked and a date which is now in the past is still showing as amber rather than red.

Can anyone tell me how I should write my JQL to remedy this.


Capture.PNG

4 answers

0 votes
Divya Shree
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.
October 22, 2024

Did you try this way?
Screenshot 2024-10-22 102238.png

0 votes
Anandhi Arumugam _Cprime_
Community Champion
October 22, 2024

Hi @Gary Welcome to the community!

duedate >= "0" AND due <=3d for the issues due in the next 3 days and not overdue

duedate <= "0" for issues now overdue

Hope that helps!

0 votes
Nikola Perisic
Community Champion
October 22, 2024

Welcome @Gary 

  • For amber color date, try using: due = "3d"
  • For red color date try using: due <= now()

     

0 votes
Fazila Ashraf
Community Champion
October 22, 2024

Hi @Gary 

Welcome to community!

I suppose the problem here is the sequence

> now is also >-2d  :) 

 

Reorder them with the now() first and then -2d and let me know whether that helped

Suggest an answer

Log in or Sign up to answer