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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

826 views 3 9
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