public class GroupAndUserPickerApi extends Object
| Constructor and Description |
|---|
GroupAndUserPickerApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<FoundUsersAndGroups> |
findUsersAndGroups(String query,
Optional<Integer> maxResults,
Optional<Boolean> showAvatar,
Optional<String> fieldId,
Optional<List<String>> projectId,
Optional<List<String>> issueTypeId,
Optional<String> avatarSize,
Optional<Boolean> caseInsensitive,
Optional<Boolean> excludeConnectAddons,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Find users and groups
Returns a list of users and groups matching a string.
|
public GroupAndUserPickerApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<FoundUsersAndGroups> findUsersAndGroups(String query, Optional<Integer> maxResults, Optional<Boolean> showAvatar, Optional<String> fieldId, Optional<List<String>> projectId, Optional<List<String>> issueTypeId, Optional<String> avatarSize, Optional<Boolean> caseInsensitive, Optional<Boolean> excludeConnectAddons, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
query - The search string. (required)maxResults - The maximum number of items to return in each list. (optional, default to 50)showAvatar - Whether the user avatar should be returned. If an invalid value is provided, the default value is used. (optional, default to false)fieldId - The custom field ID of the field this request is for. (optional)projectId - The ID of a project that returned users and groups must have permission to view. To include multiple projects, provide an ampersand-separated list. For example, `projectId=10000&projectId=10001`. This parameter is only used when `fieldId` is present. (optional, default to new ArrayList<>())issueTypeId - The ID of an issue type that returned users and groups must have permission to view. To include multiple issue types, provide an ampersand-separated list. For example, `issueTypeId=10000&issueTypeId=10001`. Special values, such as `-1` (all standard issue types) and `-2` (all subtask issue types), are supported. This parameter is only used when `fieldId` is present. (optional, default to new ArrayList<>())avatarSize - The size of the avatar to return. If an invalid value is provided, the default value is used. (optional, default to xsmall)caseInsensitive - Whether the search for groups should be case insensitive. (optional, default to false)excludeConnectAddons - Whether Connect app users and groups should be excluded from the search results. If an invalid value is provided, the default value is used. (optional, default to false)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.