Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

182 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you