Is there any equivalent class for "com.atlassian.jira.bc.user.search.UserSearchService" for Jira 6.4.2 ? And also corresponding method for "findUsersByFullName" ?
If yes, then please provide the code for the same.
Have look at UserManager
You can get the class by ComponentAccessor.getUserManager().
You could iterate over all users using(I did not check the code though)
ComponentAccessor.getUserManager().getAllUsers().filter{it.getDisplayName().equals("displayName")}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.