How can I set fix verion validation from simple script validator?
cfValues['FixVersions']?.value != ''
cfValues['Fix Versions']?.value != ''
cfValues['Fix Version/s']?.value != ''
All above are displaying error message (x).
When I set as issue.FixVersions != '', it dosen't work correctly.
I want following condition.
: FixVersions is empty -> workflow transition
: FixVersions is not empty -> validate required custom field
Hi @jun lee
Here you have a great example: https://scriptrunner.adaptavist.com/5.3.28/jira/recipes/workflow/validators/simple-scripted-validators.html#_require_a_em_fix_version_em_if_the_resolution_value_is_em_fixed_em
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.