Throwing myself on the mercy of the boards, because I am not having any luck getting this to work on my own:
I have several select lists with options "Please select a value", "Yes", and "No".
I want to run a simple scripted validator against these select lists that prohibits the transition if the selected value is "Please select a value".
What syntax am I looking for?
cfValues != 'Please select a value'
! cfValues*.value.contains('Please select a value')
And variations thereof, which do not seem to work. And I have to assume this is because I am Doing It Wrong.
Again, I want to permit the transition ONLY if the selected value is anything other than "Please select a value".
Additional complication is that the end customer does not want "None" as a value in the list.
Assuming it's a single select I think you want something like:
cfValues['Name of custom field'].value != 'Please select a value'
Why don't you use the validator "Field Required" from JIRA Suite Utilities and get rid of the option "Please select a value" (move that to your field description)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs