Hope I can get some help here!
On the create issue page I have a custom field (Select List (single choice)). Based on one of the values from the drop down list I want to set another custom field as required If any another value selected from the dropdown list the other custom field should be optional
For e.g.
Custom field - X , values (a1, a2, a3, a4)
Custom field (Text Field (single line)) - Y
If and only if a1 is selected from the dropdown list custom field Y should be mandatory, for any other values it should be optional
I tried with the validator and post function option but due to lack of knowledge with Scriptrunner I cant get it to work.
Note - We do have the Scriptrunner plugin.