ScriptRunner for JIRA Cloud. can not add any import to the script
I try to add the simplest classes. like this, for example
import com.atlassian.jira.component.ComponentAccessor
and get an error
Script1.groovy: 1: unable to resolve class com.atlassian.jira.component.ComponentAccessor @ line 1, column 1. import com.atlassian.jira.component.ComponentAccessor
what the problem. any idea?