Can we set a custom field mandatory based on a selected value of another field on Jira cloud via scriptrunner upon closure of an issue?
For e.g., I have a custom field (can be checkbox or dropdown) named 'Has caused a delay?'. When the value for this field is Yes, then another field 'Details' will become mandatory. If the field 'Has caused a delay?' is no, then the field 'Details' is not mandatory.
I know we can do this via scriptrunner, and I am new to coding. Can someone help on this please?
Or if there is another way around to achieve this?
Regards,
Narsha