Getting "No such property: issue for class: Script10"

Yashvanth P August 19, 2014

Script

import com.atlassian.jira.issue.Issue;

Issue issue = issue

log.debug issue.getKey()

I am new to script runner, please help me in resolving this error ""No such property: issue for class: Script10"

1 answer

1 vote
JamieA
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.
August 19, 2014

In what context, are you running this in the script console?

"issue" is only a bound variable in workflow functions and script fields etc, where it makes sense.

Suggest an answer

Log in or Sign up to answer