The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is it possible to change a card's colour by automation?

Mike Wilkins
October 19, 2023

I would like to change a card's colour if a field changes as follows

sprint <> planned sprint

so if the item's sprint changes from that it was originally planned for, then the colour of the ticket will change

I don't think JQL allows you to set a cards colour in the board config by comparing two fields e.g. Desired for Delivery in Sprint / Iteration No <> Planned for Delivery in Sprint / Iteration No

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Bill Sheboy
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 Champions.
October 20, 2023

Hi @Mike Wilkins -- Welcome to the Atlassian Community!

Where are you getting information about the "planned sprint"?  Is that a custom field your team has added?

Next, you are correct that JQL cannot compare issue fields.  (It is not a SQL, and so does not have such features.)

If you have any marketplace addons for JQL, they may support such comparisons. 

If you do not have such addons, a work-around could be to use an automation rule to detect the condition for the sprint mismatch, and then set a field on the issue which can be used in JQL to set issue color views.  For example, add a label (or custom field) and check for that with your card color JQL in the board settings.

Kind regards,
Bill

Mike Wilkins
October 22, 2023

Thanks @Bill Sheboy I should have mentioned that they are custom fields. Your answer confirms my conclusion. However I have now been able to devise a (complex) JQL in the board configuration that meets the request.

Like • Bill Sheboy likes this
apsahijwani
November 3, 2025

Hi @Mike Wilkins , 
Can you kindly share the JQL? Thanks. 

Carlos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 3, 2025

This topic has been locked because the thread has become a bit dated. If you’d like to keep the conversation going or have additional questions, we encourage you to start a new topic. You can read more about necro posting (ā€œraising threads from the deadā€) in our  Community Guidelines.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events