Package com.atlassian.jira.rest.v2.issue
Class GroupPickerResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.GroupPickerResource
REST endpoint for searching groups in a group picker
- Since:
- v4.4
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GroupPickerResource
-
-
Method Details
-
findGroups
@Path("/picker") @GET public javax.ws.rs.core.Response findGroups(@QueryParam("query") String query, @QueryParam("exclude") List<String> excludeGroups, @QueryParam("maxResults") Integer maxResults, @QueryParam("userName") String userName) Returns groups with substrings matching a given query. This is mainly for use with the group picker, so the returned groups contain html to be used as picker suggestions. The groups are also wrapped in a single response object that also contains a header for use in the picker, specifically Showing X of Y matching groups.The number of groups returned is limited by the system property "jira.ajax.autocomplete.limit"
The groups will be unique and sorted.
- Parameters:
query- a String to match groups agains- Returns:
- a collection of matching groups
-