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
4,368,237
Community Members
 
Community Events
168
Community Groups

cannot import com.atlassian.servicedesk.api.feedback

Hello,

I am trying to import the class com.atlassian.servicedesk.api.feedback in a listener but I have this error message

 unable to resolve class com.atlassian.servicedesk.api.feedback

 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,

Alban 

1 answer

Hi,

com.atlassian.servicedesk.api.feedback is a package not a class. You need to write

import com.atlassian.servicedesk.api.feedback.* 

or state the class name instead of '*'.

That being said, ScriptRunner gives me the same message for

import com.atlassian.servicedesk.api.feedback.RequestFeedbackDetails

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
TAGS

Atlassian Community Events