Hi, I’m new in jira server, i want to get current user email, but facing issue in userprofile.
UserProfile class belongs to sal-api library.
You need something like that in your pom.xml:
<dependency>
<groupId>com.atlassian.sal</groupId>
<artifactId>sal-api</artifactId>
<scope>provided</scope>
<version>4.0.0</version>
</dependency>
You can omit version if you have
<dependency>
<groupId>com.atlassian.platform</groupId>
<artifactId>platform</artifactId>
<version>5.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
in POM’s dependencyManagement/dependencies section.
Sawek, Thank you so much fro such a nice cooperation… But, I just update the SAL-API version then it working fro me…