Forums

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

How do I create automation to both "flag" and change issue color when a field condition isn't met?

Kyle Wilz June 27, 2025

I am trying to create an automation that will:

- Flag the Issue

- Change the Issue Color

 

When our custom field "category" is empty when the issue is transitioned to "In Progress"

 

The screen grab is what I have so farFlag and Color Automation.jpg

2 answers

0 votes
Gor Greyan
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.
June 28, 2025

Hi @Kyle Wilz

Thanks for the questions.

Your automation looks fine, except for the following points.

For the flag edit action, you can use the following JSON in the advanced field.

{
"fields": {
"flagged": {
"value": "Impediment"
}
}
}

For the card color, Jira doesn't allow direct card color change via automation, but board colors are configured via JQL in the boards settings.

Usually used:
-Labels
-Priorities
-Flags

You can do the following workaround and change the card color via the label.

Add another action: Edit issues
Change labels (for example: labels = missing-category)

Then go to Board settings:
Choose queries
Add rule: labels = missing-category --> Choose a color

Let me know if you have any questions.

0 votes
Thorsten Letschert _Decadis AG_
Atlassian Partner
June 27, 2025

Hey @Kyle Wilz ,

Flagging is already working via your automation rule?

For card colors, go to the board settings (see https://support.atlassian.com/jira-software-cloud/docs/customize-cards/) and configure the color—in your case, probably by queries/JQL.

Regards,
Thorsten

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events