jira.js
    Preparing search index...

    Function currentUser

    • Returns information about the currently authenticated user's session. If the caller is not authenticated they will get a 401 Unauthorized status code.

      Parameters

      Returns Promise<
          {
              active?: boolean;
              applicationRoles?: {
                  items?: Record<string, any>[];
                  size?: number;
                  [key: string]: unknown;
              };
              avatarUrls?: Record<string, string>;
              deleted?: boolean;
              displayName?: string;
              emailAddress?: string;
              expand?: string;
              groups?: {
                  items?: Record<string, any>[];
                  size?: number;
                  [key: string]: unknown;
              };
              key?: string;
              locale?: string;
              name?: string;
              self?: string;
              timeZone?: string;
              [key: string]: unknown;
          },
      >