jira.js
    Preparing search index...

    Function createCustomerSkippingPermissionCheck

    • Creates a customer account on behalf of jsd-nutmeg.

      This endpoint is restricted to jsd-nutmeg via ASAP authentication. It provides the same capability as the public POST /servicedeskapi/customer endpoint, but does not require a User Context Token (UCT) or Connect app user — authorization is enforced entirely via the ASAP token.

      No user permission checks are performed; null is passed as the acting user to bypass the permission check in the underlying service.

      Parameters

      • client: Client
      • parameters: {
            displayName?: string;
            email?: string;
            fullName?: string;
            strictConflictStatusCode?: boolean;
        }
        • OptionaldisplayName?: string

          Customer's name for display in the UI.

        • Optionalemail?: string

          Customer's email address.

        • OptionalfullName?: string

          Deprecated, please use 'displayName'.

        • OptionalstrictConflictStatusCode?: boolean

          Optional boolean flag; when true, returns 409 Conflict for duplicate email instead of the default 400.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              _links?: {
                  avatarUrls?: Record<string, any>;
                  jiraRest?: string;
                  self?: string;
                  [key: string]: unknown;
              };
              accountId?: string;
              active?: boolean;
              displayName?: string;
              emailAddress?: string;
              key?: string;
              name?: string;
              timeZone?: string;
              [key: string]: unknown;
          },
      >