I want to check if the value for my custom field is from these 3 values : env1,env2,env3 by using script validator.
I tried this:
cfValues['Environments']*.value in ['env1', 'env2', 'env3']
But this does not work.
Any help will be much appreciated.
I think you have mistaken the word "in" which is commonly used for JQL. Try this:
cfValues['My Multi Select']*.value.contains("env1") || cfValues['My Multi Select']*.value.contains("env2")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.