Scripted Validator Multi-select field 1 option requires additional field

I have a multi select field (it is a required field) and if they choose the option 'Other' they need to fill out 2 other fields (I am thinking I need 1 validator for each field).

 

from the examples I need this 

cfValues['Demo']?.value != 'No' || cfValues['Reason for No Demo']

but for a multi select field

I am assuming I need to replace the first part with 

cfValues['My Multi Select']*.value.contains("Some value")

but how do I make that does not contain?

 

Thank you!

2 answers

0 votes

Isn't this the exact same question as https://answers.atlassian.com/questions/43113440 

So sorry Jamie!  I didn't connect them in my head.

Yes, it is the exact same thing!  

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,345 views 2 7
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you