Hello all, I need help in setting up a validation on Cascading drop-down custom field in a JIRA Data Center environment using ScriptRunner Behaviours. How to make a "child" part mandatory, but only if a "parent" has a value?
Hhi @Jira Dev
Welcome to the Community.
I have provided the exact answer to your requirement in this Community Post.
The solution provided in the link also uses ScriptRunner's Behaviour and performs a validation to ensure that both Parent and Child options are selected in the Cascade Select List.
I hope this helps answer your question. :-)
Let me know how it goes.
Thank you and Kind regards,
Ram
Not all of my “parent” options have “child” values, so the script doesn’t work the way I need it to. It currently makes the “child” field mandatory for every “parent,” even when there are no child options available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.