This essentially the same as the User object, but no _links property and no _expandable property (therefore, different required fields).

interface WatchUser {
    accountId: null | string;
    accountType: string;
    details?: UserDetails;
    displayName: string;
    email: string;
    externalCollaborator: boolean;
    isExternalCollaborator: boolean;
    isGuest: null | boolean;
    operations: null | OperationCheckResult[];
    personalSpace: null | {
        [key: string]: unknown;
    };
    profilePicture: null | IconV1;
    publicName: string;
    timeZone?: null | string;
    type: string;
    userKey?: null | string;
    username?: null | string;
}

Hierarchy

  • Record<string, unknown>
    • WatchUser

Properties

accountId: null | string

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.

accountType: string
details?: UserDetails
displayName: string
email: string
externalCollaborator: boolean
isExternalCollaborator: boolean
isGuest: null | boolean
operations: null | OperationCheckResult[]
personalSpace: null | {
    [key: string]: unknown;
}
profilePicture: null | IconV1

This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

publicName: string
timeZone?: null | string
type: string
userKey?: null | string

This property is no longer available and will be removed from the documentation soon. Use accountId instead. See the deprecation notice for details.

username?: null | string

This property is no longer available and will be removed from the documentation soon. Use accountId instead. See the deprecation notice for details.