@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.
26 lines (24 loc) • 903 B
text/typescript
import type { ProjectRoleGroup } from './projectRoleGroup';
import type { ProjectRoleUser } from './projectRoleUser';
/** Details about a user assigned to a project role. */
export interface RoleActor {
/** The ID of the role actor. */
id?: number;
/**
* The display name of the role actor. For users, depending on the user’s privacy setting, this may return an
* alternative value for the user's name.
*/
displayName?: string;
/** The type of role actor. */
type?: string;
/**
* This property is no longer available and will be removed from the documentation soon. See the [deprecation
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
* for details.
*/
name?: string;
/** The avatar of the role actor. */
avatarUrl?: string;
actorUser?: ProjectRoleUser;
actorGroup?: ProjectRoleGroup;
}