Hello Community,
We have multi select custom field, where user can select up to 6 values. But whenever user selects 1 value then corresponding 3 custom fields will be visible. If user selects 3 values then 9 custom fields will be visible. So max user can select 6 values and 18 corresponding custom fields will be visible. If user didn't select any value then all the custom fields should be hidden.
Ex: Multi select custom field value: User selects 'A' and 'B'
corresponding Custom field A1, Custom field A2, Custom field A3, Custom field B1, Custom field B2 and Custom field B3 should be visible.
And remaining corresponding custom fields should be hidden.
We have achieved this for single selection using script runner behavior, But when it comes to multi selection how to reduce the code complexity to achieve this using simple code.
Note: It will be helpful if you give the working code.(Jira cloud)