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: 

Script listener condition "Cascading select list both values equal to" doesn't work

Nina Zolotova
Contributor
April 4, 2018

Hello.

I'm trying to write my first script listener with ScriptRunner. It should check both values of cascading select list and then add a comment. 

I used code from example "Cascading select list both values equal to", just placed there my custom field name and its values.

cfValues['1S']?.values()*.value == ['Бухгалтерия', 'Доступ']

After that I got an error message:img1.png

What did I do wrong?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Alexey Matveev
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.
April 4, 2018

It is a static error. Try to run it and have a look at the result.

Nina Zolotova
Contributor
April 5, 2018

Thank you. It works)

Alexey Matveev
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.
June 22, 2018

You are welcome!

Aashish Gupta
Contributor
November 18, 2019

Could you please me on that?

TAGS
AUG Leaders

Atlassian Community Events