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
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would say the objects being iterated over do not have a method or property of expected_target_date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.