Always when I try import
import com.atlassian.jira.component.ComponentAccessor
while creating behavior i get error
unable to resolve class com.atlassian.jira.component.ComponentAccessor @ line 3, column 1. import com.atlassian.jira.component.ComponentAccessor; ^ 1 error
Please, tell me what I doing wrong?
version jira 5.0.3
Thanks.
Good question. I cannot reproduce your problem.
Are you really still using Jira 5.0.3, or is that the scriptrunner version?
If it is your Jira version, then I'd upgrade the system. It might be that the class is not available in that version.
I have tested the import on Jira 7.7.1 (SR 5.6.12) and Jira 8.5.0 (SR 5.6.14.1-p5) and both work.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.