Hello All,
Is there any way to change Epic Name background color basis the component field value.
Please provide me the ways we can achieve this.
Regards
Pallavi
Confirming the use case... You want the epic color to change when a component is added to it? If so, yes this is possible, but you'll need to do some advanced field editing as automation does not support updating the epic color field through the UI. Here's a quick rule I threw together:
For copy/paste, here's the field setting (note you'll need to look up the custom field value for epic color in your environment):
{
"fields": {
"customfield_100XX": "ghx-label-1"
}
}
My automation is simple to provide what's possible. You could use If/Else conditions to make it more complex.
I hope this helps.
Hi @Mark Segall
Thank you for your response.
I tried this jira automation script with many conditions but it fails somewhere.
I wanted to have epic colour red when component is "Test Component" and yellow colour when component is "Test Component New"
But if component is empty still it assign any colour when epic is created.
Script is not working as expected in my Jira Software server.
Can you please tell me where I make mistake.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Anything wrong in above script....
It allocate different colours to EPIC name even when component field is blank and epic is created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.