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
Community Members
Community Events
Community Groups

How can I change the EPIC color via automation?

Hey Community!


I want that if a label has value X the EPIC color is set to color X.

There is no predefined field to change the EPIC color via automation. After hours of research and many failed automations I now turn to you.

I think it should be easy to do this by using additional fields, I think I just need the command to set the color of the current EPIC to X. But how can I do that?

5 answers

1 accepted

0 votes
Answer accepted

I was able to use Automation for Jira today for my use case, which was to change the color of the Epic when a specific custom field (SoW Signed) was changed to "Yes." 

I discovered that there was already a custom field called "Epic Color" and I found the color codes online. 

I'll list them here for simplicity:

ghx-label-1         Black

ghx-label-2         Dark Yellow

ghx-label-3         Light Yellow

ghx-label-4         Dark blue

ghx-label-5         Dark Aqua

ghx-label-6         Light green

ghx-label-7         Light Purple

ghx-label-8         Dark purple

ghx-label-9         Light Pink

ghx-label-10       Light Blue

ghx-label-11       Light aqua

ghx-label-12       Light gray

ghx-label-13       dark green

ghx-label-14       dark coral/red(ish)



John Funk Community Leader Aug 10, 2021

Yes, this would be the preferred solution now. 

Like # people like this

Great automation.

Update //19-05-2022 noticed that the customfield number has changed (at least for our instance) and the colour labels do not match. So you may want to check these. But the solution is still valid.

Like Jan Stähle likes this

Hey everyone :) 

I asked myself the same question today. Did I understand it correctly that there is no way to set a Epic color for a individual label? Or has something changed in the meantime?

Thank you so much.

Beste Regards


Hi Jacques,

Note JMWE can perform the action only during a transition. With JMWE in your instance, add the "Set field value" post-function to the transition to set the Epic Color field to X. Select the conditional execution checkbox in the post-function configuration and check the labels. 

{{ issue.fields.labels.includes("X") }}



0 votes
John Funk Community Leader May 24, 2020

Hi Jacques - Welcome to the Atlassian Community!

I don't think you are going to be able to do that using Automation for Jira. You could do it using a Post Function on a Transition in the workflow however using the JMWE add-on. 

Hey @John M Funk ,


thank you for your fast answer.

Can you describe this in more detail? I don't understand the procedure.. That would be really great!

John Funk Community Leader May 25, 2020

You would need to add the Jira Miscellaneous Workflow Extensions (JMWE) from the Atlassian Marketplace. There is a charge for this. 

This is also an interesting question for me too!

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

136 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you