Problem
I have a multi-value field which in some situations I want to verify the user selected only one value or no value
What I did
I am using script runner for this
cfValues['Device Related']*.values().size() <= 1
So as I understand it the user can choose one or none
But the script always fail validation and the user can not continue
What I am doing wrong