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, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events