Hello everyone, I would like to know how I can retrieve an issue on Jira from his ID, knowing that with this code I have the following error:
No signature of method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getIssueByID() is applicable for argument types: (java.lang.Long) values: [92197]
"Cannot find matching method" in my script
I’ve tried a lot of other methods, but always the same mistake.
import com.atlassian.jira.issue.Issue
long issueId = 92197
Issue issue = getIssueByID(issueId)
return issue