groovy script error

Vedat January 10, 2018

Hi everyone,

The console gives the error below. l need your assistance.

Thanks.

hata_1.png

1 answer

1 vote
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.
January 10, 2018

Hello,

I think it is a static compilation error. Scriptrunner does not know if such field exists. Try to execute the code.

If there is an error in the log file kindly paste it here

Vedat January 11, 2018

2018-01-11 13:03:01,293 WARN [common.UserScriptEndpoint]: Script console script failed: groovy.lang.MissingPropertyException: No such property: issue for class: Script36 at Script36.run(Script36.groovy:13)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2018

I would say the objects being iterated over do not have a method or property of expected_target_date.

Suggest an answer

Log in or Sign up to answer