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/[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/[49,77] incompatible types: com.atl
assian.jira.user.ApplicationUser cannot be converted to com.atlassian.crowd.embe
[ERROR] /c:/atlastutorail/mail-handler-demo/src/main/java/com/example/plugins/tu
torial/jira/mailhandlerdemo/[62,46] incompatible types: com.atl
assian.crowd.embedded.api.User cannot be converted to com.atlassian.jira.user.Ap


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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

655 views 4 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot