Interface GeneralJiraUser

interface GeneralJiraUser {
    accountType: string;
    active?: boolean;
    applicationRoles: unknown;
    avatar?: string;
    avatarUrls?: Record<string, string>;
    displayName: string;
    emailAddress: string;
    exists?: boolean;
    expand: string;
    groups?: {
        items: {
            groupId: string;
            name: string;
        }[];
        size: number;
    };
    imageUrl: string;
    locale: string;
    self: string;
    timeZone: string;
}

Properties

accountType: string

The user account type. Can take the following values:

  • atlassian regular Atlassian user account
  • app system account used for Connect applications and OAuth to represent external systems
  • customer Jira Service Desk account representing an external service desk

Valid values: atlassian, app, customer, unknown

active?: boolean

Whether the user is active (jira cloud and dc).

applicationRoles: unknown

The application roles the user is assigned to.

avatar?: string
avatarUrls?: Record<string, string>

The avatars of the user.

displayName: string

The display name of the user. Depending on the user’s privacy setting, this may return an alternative value.

emailAddress: string

The email address of the user. Depending on the user’s privacy setting, this may be returned as null.

exists?: boolean

Whether the user exists (only for dc with TM rest).

expand: string

Expand options that include additional user details in the response.

groups?: {
    items: {
        groupId: string;
        name: string;
    }[];
    size: number;
}

The groups that the user belongs to.

Type declaration

  • items: {
        groupId: string;
        name: string;
    }[]
  • size: number
imageUrl: string
locale: string

The locale of the user. Depending on the user’s privacy setting, this may be returned as null.

self: string

The URL of the user.
Format: uri

timeZone: string

The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null.