[Duplicate] Scripted costumefield which "ask" about fields of epic Edited

I need to create new scripted costumefield called "category".

 

it should work like this:

 

 

If issue type = bug -> category = "bug"

· elseIf issue."Request type"="External" -> category="external"

· elseIf issue."Request type"="Operations" -> category="Ops"

· elseIf issue.epic(parent).Theme="No Theme" -> category="no Theme"

· elseIf issue.epic(parent).Theme is one of these("Security", "Platform OS", "Stability and endurance", "End to end performance", "R&D: Infra", "R&D: Dev Cycle", "OhioBox") or issue type="technical debt" -> category="Production"

· else category="Themes"

 

*Request type is a "single choice costume field"

*Theme is a "single choese costumfield" which Only the Epic level have

 

Does anyone knows how i make condition on value from Epic level (father of Story/taks)?

 

thanks,

 

Liran

1 comment

Comments Closed
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

504 views 3 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you