@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
22 lines (21 loc) • 1.07 kB
text/typescript
export interface FindUsersForPicker {
/**
* A query string that is matched against user attributes, such as `displayName`, and `emailAddress`, to find relevant
* users. The string can match the prefix of the attribute's value. For example, _query=john_ matches a user with a
* `displayName` of _John Smith_ and a user with an `emailAddress` of _johnson@example.com_.
*/
query: string;
/** The maximum number of items to return. The total number of matched users is returned in `total`. */
maxResults?: number;
/** Include the URI to the user's avatar. */
showAvatar?: boolean;
/**
* A list of account IDs to exclude from the search results. This parameter accepts a comma-separated list. Multiple
* account IDs can also be provided using an ampersand-separated list. For example,
* `excludeAccountIds=5b10a2844c20165700ede21g,5b10a0effa615349cb016cd8&excludeAccountIds=5b10ac8d82e05b22cc7d4ef5`.
* Cannot be provided with `exclude`.
*/
excludeAccountIds?: string[];
avatarSize?: string;
excludeConnectUsers?: boolean;
}