Hello, we are currently using Jira Software Server (version 8.7.1), we have tried running our code in the Script Console on IntelliJ but it seems to have a problem recognizing the imported classes although we made sure to specify the correct directory for it to import them. We are at loss here and we would really appreciate your help! Thanks!
This is the type of error we get while running the code in IntelliJ:
C:\Users\Administrator\IdeaProjects\jira_863239\inline\src\main\java\Test.groovy: 27: unable to resolve class com.atlassian.jira.bc.issue.IssueService
@ line 27, column 1.
import com.atlassian.jira.bc.issue.IssueService;
^
C:\Users\Administrator\IdeaProjects\jira_863239\inline\src\main\java\Test.groovy: 5: unable to resolve class com.atlassian.jira.issue.Issue
@ line 5, column 1.
import com.atlassian.jira.issue.Issue;
- Also, for more information: Scriptrunner version: 5.7.1.1-p5 and JDK 1.8.0_241