Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,370
Community Members
 
Community Events
176
Community Groups

Color coding cards based on weeks

Hello, I am trying to color code our Jira cards to change colors based on the dates they are asking for. They are wanting to use the colors as warning indicators for due dates. 

So this is what they are wanting for the card colors GREEN = >3 weeks from deadline, YELLOW = <3 weeks from deadline, and RED = <2 weeks from deadline. Can someone help with how I am supposed to write that our using the JQL?

1 answer

1 accepted

0 votes
Answer accepted
John Funk Community Leader Oct 30, 2020

Hi Samuel,

I don't use Jira Server (just Cloud) but is there a way to do that in the issue layout from your board settings?

Go to Board Settings > Card Colors

In Cloud we can write JQL to match the color we have selected. 

See if this helps you:

https://confluence.atlassian.com/jirasoftwareserver/customizing-cards-938845307.html#:~:text=You%20can%20base%20your%20card,%2C%20then%20click%20Board%20%3E%20Configure.

Thank you John, I have made it that far on my own. The part where I am stuck at is what do I need to put in the JQL for what timeframe they are looking for?

Right now I have the JQL set as duedate <= end of day () but I don't think it is working the right way. would you happen to know how I can set the JQL for the  card colors GREEN = >3 weeks from deadline, YELLOW = <3 weeks from deadline, and RED = <2 weeks from deadline?

John Funk Community Leader Oct 30, 2020

duedate <= endOfDay(2w) Red

duedate <= endOfDay(3w) Yellow

duedate >startOfDay(3w)   Green

Make sure the colors are in order from top down like above

Thank you for your help John! That seems to be working correctly now.

Like John Funk likes this
John Funk Community Leader Oct 30, 2020

Great! Glad I could help. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events