I have a need to make a multiselect list become required if a project key =X
My plan is to use the scriptrunner validator option in the workflow transition.
My current thought is:
if (issue.projectObject.key == 'My Project Key' &&
cfValues['Custom_Field_one'] == 'None') {
return true
}
Note: the multiselect list cannot be set as a required field by default and therefore "none" will be an option.
Hi,
I suppose you need Behaviour script which invokes setRequired(true) for the field. See https://scriptrunner.adaptavist.com/4.3.1/jira/behaviours-overview.html#_using_a_server_side_validator_to_set_the_fix_versions_required.
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.