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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,232
Community Members
 
Community Events
185
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
AUG Leaders

Atlassian Community Events