We have 1 ScriptRunner scripted field. We want to hide 2 JIRA custom fields on Edit Screen based on the logic:
if scripted = value a
- show custom field 1 and make it mandatory
- show custom field 2 and make it mandatory
else
- hide custom field 1
- hide custom field 2
We've tried Behaviour function from ScriptRunner but no luck. Please advise.