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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.