I am currently using the userSearchService.findUsersAllowEmptyQuery() method to get a list of users from the JiraContext.
Since I am not passing a quesry String, I understand that the returned list is in the context of the ApplicationUser I pass into the JiraServiceContext.
Ideaslly what I would like to see is a list of Application Users that have access to a particular project.
Examples of the usage of the USerSearchService are sparse to non-existant, or maybe I am looking in the wrong place.
Can someone help point me to some examples, or show me an example of how to get users assigned to a particular project?
Thanks in Advance!
Check out the getProjectRoleActors method in ProjectRoleManager. Use it with the appropriate project role.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.