You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi
I'm new to this, but using Jira Cloud, We have at any time 30-40 active tickets on a queries based board.
I would like to have cards change colour based on how many days they are from their due date, so:
3 more more days away from due date = Green
2 days from due date = yellow
1 days from due date orange
on the date or overdue = red
Whats the best way of doing this and the 'code/query'
many thanks in advance
you could set the card color on a kanban/scrum board but that is the limit. You will find this under Board settings > card color. it presents a edge band color only.
Jack that's fine, but is it possible it can change automatically, and what would the query be?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as an example
use color by queries...
statusCategory != done and duedate <= startofday("+3d")
I threw in the statusCategory assuming you don't care about Done issues. Might use gray/black for done issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thanks
I've applied that but whichever way I do it I cannot get the tickets due tomorrow as orange. In fact everything is green
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
your logic here is wrong for orange and red at least if I understand what you want.
first "startofday()" is midnight of the current day not say 8am, just an fyi.
second you are using "-" in your queries which is looking back not foward. so <= startofday("-2d"), considering today is Monday 12/14 means if the issue was due <= Friday at 11:59:59pm or earlier.
Maybe this is what you want below? You may need to play w/ the boundaries a bit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean "nothing happen"?
I'm confident it will all work. just got to get the JQL nailed to meet exact needs. set up some test issue on the boundaries and see if you can nail it down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please note the card color that Jira boards use is a thin strip of color on the left of the card. The entire card is not changed to that color. Did you note that in the suggestion that Jack offered?
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bill, yes totally realise, and appreciate the input both you & Jack are giving.
I have used Jac's query but nothing happens, in fact, I loose what colour bands I had with the -2 query; I've modifed the original query with +2 etc, and no difference.
Not sure why it is not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The card color filters apply in the order listed, so it can be a bit of a logic issue when they overlap (not mutually exclusive). The technique Jack listed should make them independent, but your own filters may not be so.
Please try to implement just one card color filter, removing the others, and confirm it works as expected, adjusting as needed.
Then add one more *below* it, and see what happens. You should be able to make progress from there.
If the single query does not work, please post what you are using to help the community comment.
Thanks,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.