I'm looking at the following lines:
// Retrieve a specific Issue
EventIssueService.IssueResult issueResult = issueService.getIssue(null, issueKey);
MutableIssue mutableIssue = issueResult.getIssue();
which are from an Atlassian Developer page named "Perform Issue Operations" (https://developer.atlassian.com/server/jira/platform/performing-issue-operations/).
When I paste those lines into the Script Console, there are syntax errors.
On the first line, on the variable issueResult, the error is "unable to resolve class EventIssueService.IssueResult. My first assumption is that I'm missing an import but I do not know how to determine which import file(s) I'm missing. If I do a Google search on "EventIssueService", the search isn't specific enough to help. If I search on "jira EventIssueService", no results are returned.
Is the problem that I'm missing an import and how do I determine which files I'm missing?
ty