Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

cannot import


I am trying to import the class in a listener but I have this error message

 unable to resolve class

 I thought that we can access to this class in order to use the automatic token generator for the survey. How can we use it? Thank you. 

Best regards,


1 answer

Hi, is a package not a class. You need to write


or state the class name instead of '*'.

That being said, ScriptRunner gives me the same message for


And also

import com.atlassian.servicedesk.api.field.RequestTypeField

or any class in the com.atlassian.servicedesk.api.field package. And I need those classes.

The other classes in the packages under com.atlassian.servicedesk.api are resolved without problems.

Anyone else having the same issue? 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events