com.atlassian.jira.rest.v2.issue
Class GroupAndUserPickerResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.GroupAndUserPickerResource

public class GroupAndUserPickerResource
extends Object


Constructor Summary
GroupAndUserPickerResource(GroupPickerResourceHelper groupPickerHelper, UserPickerResourceHelper userPickerHelper)
           
 
Method Summary
 javax.ws.rs.core.Response findUsersAndGroups(String query, Integer maxResults, Boolean showAvatar)
          Returns a list of users and groups matching query with highlighting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupAndUserPickerResource

public GroupAndUserPickerResource(GroupPickerResourceHelper groupPickerHelper,
                                  UserPickerResourceHelper userPickerHelper)
Method Detail

findUsersAndGroups

public javax.ws.rs.core.Response findUsersAndGroups(String query,
                                                    Integer maxResults,
                                                    Boolean showAvatar)
Returns a list of users and groups matching query with highlighting. This resource cannot be accessed anonymously.

Parameters:
query - A string used to search username, Name or e-mail address
maxResults - the maximum number of users to return (defaults to 50). The maximum allowed value is 1000. If you specify a value that is higher than this number, your search results will be truncated.
Returns:
An object containing list of matched user objects, with html representing highlighting.


Copyright © 2002-2013 Atlassian. All Rights Reserved.