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
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
Adaptavist Product Support
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...
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!
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