jira.js
    Preparing search index...

    Function getProfile

    • Returns information about a single Atlassian account by ID

      Parameters

      • client: Client
      • parameters: { accountId: string }
        • accountId: string

          The ID of the user

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              account: {
                  account_id: string;
                  account_status: "active"
                  | "inactive"
                  | "closed"
                  | string & {};
                  account_type: string & {} | "atlassian" | "app" | "customer";
                  characteristics?: { not_mentionable?: boolean; [key: string]: unknown };
                  email: string;
                  extended_profile?: {
                      department?: string;
                      job_title?: string;
                      location?: string;
                      organization?: string;
                      [key: string]: unknown;
                  };
                  locale?: string;
                  name: string;
                  nickname: string;
                  picture: string;
                  zoneinfo?: string;
                  [key: string]: unknown;
              };
              [key: string]: unknown;
          },
      >