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

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

You are welcome!

Aashish Gupta
Contributor
November 18, 2019 edited

Could you please me on that?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events