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
Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...
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