The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to enforce user to select more than one value for Select List (multiple choices)?

Teja
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 30, 2020

Hi

I am trying to validate multi select cf, 

based on these cases

if the 'Environment' contains "FTE" then
case1

else
case2

if case1 then 'Environment' must contain "FTE" and at least 1 value other than "FTE"

else if
case2
'Environment' must contain at least 1 value other than "FTE"

Here: Environment is multi select list cf and it has values in it "FTE", "AAA", "BBB", "CCC"

How can we achieve this using 'Custom script validator'?

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Teja
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 4, 2020

Found the solution.