Forums

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

How can I keep the colour of the card at the time of it being Done?

Caroline Hazna Imelda
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!
July 10, 2023

Hello,

I have set my Jira cards to change colours depending on how long it has been since the ticket was created, i.e.:

  • Green: ticket created < 15 minutes ago
  • Yellow: ticket created between 15 and 25 minutes, and so on.

Now I would like to keep the colours of the ticket when it is moved to Done (or when the statusCategory is done).

For instance, if the ticket was completed within 15 minutes, the colour will stay as green in the Done column; if it was completed when the ticket colour has changed to red, then it will show as red, and so on.

 

Please, what would be the best way of doing this?

Thank you in advance!

1 answer

0 votes
Trudy Claspill
Community Champion
July 10, 2023

Hello @Caroline Hazna Imelda 

Welcome to the Atlassian community.

It sounds like what you want to set the card color based on comparing the Resolved Date to the Create Date. Is that correct?

Jira does not natively support comparing two date fields to each other in a JQL, which is how card colors may be set in a board. It also doesn't support setting card colors in a board using Automation Rules.

 

What you could do is use an Automation rule to calculate how much time has passed between the date/time of the Created time stamp and the date/time when an issue transitions to Done, and save that value in a custom field. You could then adjust your card color JQLs to set colors based on that field.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events