Problem in developing, ApplicationUser class for mail handler

AleksejsC July 4, 2017

I have a problem with ApplicationUser class. I'm trying to create custom mail handler based on this tutorial. When I'm trying to compile plugin with pi command, I'm getting error message:
[ERROR] .../mailhandlerdemo/DemoHandler.java:[48,23] cannot find symbol
symbol: class ApplicationUser
location: class com.example.plugins.tutorial.jira.mailhandlerdemo.DemoHandler
According to this thread above class was deleted.. I trying old class "User" for Jira v6 but there was no result because i'm using Jira 7.

Who know how to handle this?

3 answers

2 accepted

0 votes
Answer accepted
AleksejsC July 5, 2017

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.

0 votes
Answer accepted
AleksejsC July 5, 2017

Found a problem. Java package was missing. After adding import com.atlassian.jira.user.ApplicationUser; plugin compiled succesfuly.

This maybe be helpful for someone.

0 votes
AleksejsC July 5, 2017

Test

Suggest an answer

Log in or Sign up to answer