@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.
28 lines (27 loc) • 1.24 kB
text/typescript
export interface GetUser {
/**
* The account ID of the user, which uniquely identifies the user across all Atlassian products. For example,
* _5b10ac8d82e05b22cc7d4ef5_. Required.
*/
accountId?: string;
/**
* @deprecated This parameter is no longer available. See the [deprecation
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide)
* for details.
*/
username?: string;
/**
* @deprecated This parameter is no longer available. See the [deprecation
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide)
* for details.
*/
key?: string;
/**
* Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion) to include additional
* information about users in the response. This parameter accepts a comma-separated list. Expand options include:
*
* - `groups` includes all groups and nested groups to which the user belongs.
* - `applicationRoles` includes details of all the applications to which the user has access.
*/
expand?: 'groups' | 'applicationRoles' | ('groups' | 'applicationRoles')[] | string | string[];
}