Hi,
I'm trying to control Table Grid Editor plugin with Scriptrunner scripts. In all example codes given, this import line is used:
import com.atlassian.plugin.PluginAccessor;
But in my ide intellij idea, this PluginAccessor is not being recognized.
idalko.JPG
What might be the problem?
My JIRA version: JIRA core server 7.2.1
TGE version: 1.20.4
SR version: 4.3.6
Thank you in advance
Community moderators have prevented the ability to post new answers.
If I recall correctly, PluginAccessor isn't defined by JIRA; it is defined Atlassian Plugins and live in atlassian-plugins-core rather than a separate API. Since atlassian-plugins-core is only in jira-core, you would have to have a dependency on either atlassian-plugins-core or jira-core to get ahold of that class.
It shouldn't be like that. The PluginAccessor interface should live in an atlassian-plugins-api module so it can come in transitively through jira-api, but it doesn't, so you can't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.