Hi,
We are upgrading JIRA from v4.1.2 to v6.1.6. In previous system we used com.opensymphony.user.User class's getGroup method to get the list of groups associated with a user. Now as the class has been depricated, how can i retrieve user groups now.
We tried to use com.atlassian.crowd.embedded.api.User class but it does't have any method to retrieve user group.
Please suggest any solution.
Thanks!
Community moderators have prevented the ability to post new answers.
I think you want the UserUtil interface. It has the function getGroupsForUser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.