Hello Need help. I need to add a validator for the user to fill all the options in the "select" field, which is a multilevelcascading and even adding a validator to fill up the last field of the select, does not work ... what do I need to do? is there a simple jql that I can add? thanks
Hello Thays,
Than you for raising this question.
Indeed, it's not possible to require the child field from a select list to be required natively on JIRA, however, you can use a simple Script validator provided by ScriptRunner plugin to achieve it:
cfValues['your cascading field']?.values()*.value.size() == 2
We have a bug created about this lack here, together with other possible workaround using JIRA Suite Utilities plugin:
- Required field validation works only on the first Cascading drop-down list
For more information on how to configure the Script, check the answer below:
- Workaround solution for making 2nd drop down required in multi-cascade custom field
Please, let me know if you still have any questions.
Hello,
Thank you for your help.
I'm referring to some script that can validate all the multicascading fields are filled.
For this validator
Add Parameters To Validator
Add required parameters to the Validator.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Petterson
Thank you for your help.
But it still is not what I need.
I'll keep trying and as soon as I get something, I'll be back to inform everyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome, Thays.
If you can provide us with more insight about the feature you are looking for, I think I can search for other options to help you.
Also, let me know if you get stuck in any of the steps provided before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.