jira.js
    Preparing search index...

    Function updateUserAvatar

    • Updates the avatar for the user.

      Parameters

      • client: Client
      • parameters: {
            fileName?: string;
            id?: string;
            isDeletable?: boolean;
            isSelected?: boolean;
            isSystemAvatar?: boolean;
            owner?: string;
            selected?: boolean;
            urls?: Record<string, string>;
            username?: string;
        }
        • OptionalfileName?: string
        • Optionalid?: string
        • OptionalisDeletable?: boolean
        • OptionalisSelected?: boolean
        • OptionalisSystemAvatar?: boolean
        • Optionalowner?: string
        • Optionalselected?: boolean
        • Optionalurls?: Record<string, string>

          The avatar at each size, keyed by size.

        • Optionalusername?: string

          Username

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              fileName?: string;
              id?: string;
              isDeletable?: boolean;
              isSelected?: boolean;
              isSystemAvatar?: boolean;
              owner?: string;
              selected?: boolean;
              urls?: Record<string, string>;
              [key: string]: unknown;
          },
      >