cannot find symbol applicationUsers

Currently i'm trying to build a custom message handler at JIRA 7 based on tutorial.

When i try to build the sdk it shows two type errors which are cannot find symbol and unable to convert between user and applicationUsers.

 

 

[ERROR] /c:/atlastutorail/mail-handler-demo/src/main/java/com/example/plugins/tu
torial/jira/mailhandlerdemo/DemoHandler.java:[11,31] cannot find symbol
[ERROR] symbol: class ApplicationUsers
[ERROR] location: package com.atlassian.jira.user
[ERROR] /c:/atlastutorail/mail-handler-demo/src/main/java/com/example/plugins/tu
torial/jira/mailhandlerdemo/DemoHandler.java:[49,77] incompatible types: com.atl
assian.jira.user.ApplicationUser cannot be converted to com.atlassian.crowd.embe
dded.api.User
[ERROR] /c:/atlastutorail/mail-handler-demo/src/main/java/com/example/plugins/tu
torial/jira/mailhandlerdemo/DemoHandler.java:[62,46] incompatible types: com.atl
assian.crowd.embedded.api.User cannot be converted to com.atlassian.jira.user.Ap
plicationUser

 

the plugin seems workable at JIRA v6 but not JIRA v7

3 answers

ApplicationUsers is deleted.

Good luck!

Great answer!

Care to suggest anything else?

did you find any solution? i am experiencing the same.

ApplicationUsers, ApplicationUser and User still exists. 

I found a problem: Java package was missing: add import com.atlassian.jira.user.ApplicationUsers; to your class and be happy ;).

This can be helpfull too.

P.S. idk why but i cannot leave answer as answer.. only as reply

I found a problem: Java package was missing. After adding import com.atlassian.jira.user.ApplicationUser; plugin compiled successfully!

This can be helpfull for someone.

I found a problem: Java package was missing: add import com.atlassian.jira.user.ApplicationUser; to your class and be happy ;).

This can be helpfull too.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you