Script Validator for MultiSelect Commponent/s Field

Pushparaj Bhaskaran June 16, 2013

I'm using

issues.components*.name.contains("SCM") within

the Script Validator in the Workflow Validator , which allows the transaction if the corresponding value is selected and not if the wrong values are selected.

I would like to give some more allowed option values . Should I be using an OR ?

2 answers

1 accepted

1 vote
Answer accepted
JamieA
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 Leaders.
June 16, 2013

["A", "B"].intersect(issue.components*.name)

0 votes
Pushparaj Bhaskaran June 16, 2013

Thanks it works Jamie

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events