Custom Field values based on another custom field value

Hi,

I'm not sure if script runner is the only way to do this or if there is available plug-in that I just can't find. This is the scenarion:

Custom Field 1 (Select List (single choice)) values - 1st, 2nd

Custom Field 2 (Select List (single choice)) values - A,B,C,D,E

1. If custom field 1 = 1st, THEN custom field values are A, B, and C

2. If custom field 1 = 2nd, THEN custom field values are A, D, and E

 

Thanks,

Jessa

1 answer

Hi Jessa,


It looks like you would want to use Behaviours to accomplish this. We post how to use Behaviours here in our documentation.

Specifically, you would want to use this example: https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/setting-default-fields.html#_setting_defaults_for_selects_etc

Kind regards,

Katy

Adaptavist Product Support

Thank you Katy. We simplified our workflow for now to use default JIRA behavior. But we might still need to use dependencies in the future.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 4 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

26 views 0 2
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