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)
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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