jira.js
    Preparing search index...

    Function validateUserAnonymizationRerun

    • Validates user anonymization re-run process.

      Parameters

      • client: Client
      • Optionalparameters: { expand?: string; oldUserKey?: string; oldUserName?: string; userKey?: string }
        • Optionalexpand?: string

          Parameter used to include parts of the response.

        • OptionaloldUserKey?: string

          User key before anonymization, only needed when current value is anonymized. If there is no old key, e.g. because the user was already created using the new key generation strategy, provide a value equal to the current key.

        • OptionaloldUserName?: string

          User name before anonymization, only needed when the current value is anonymized. If there is no old name, provide a value equal to the current name.

        • OptionaluserKey?: string

          The key of the user to validate anonymization for.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              affectedEntities?: Record<
                  string,
                  {
                      description?: string;
                      numberOfOccurrences?: number;
                      type?: | string & {}
                      | "REMOVE"
                      | "ANONYMIZE"
                      | "TRANSFER_OWNERSHIP"
                      | "MANUAL";
                      uri?: string;
                      uriDisplayName?: string;
                      [key: string]: unknown;
                  }[],
              >;
              businessLogicValidationFailed?: boolean;
              deleted?: boolean;
              displayName?: string;
              email?: string;
              errors?: Record<
                  string,
                  {
                      errorMessages?: string[];
                      errors?: Record<string, string>;
                      [key: string]: unknown;
                  },
              >;
              expand?: string;
              operations?: string[];
              success?: boolean;
              userKey?: string;
              userName?: string;
              warnings?: Record<
                  string,
                  {
                      errorMessages?: string[];
                      errors?: Record<string, string>;
                      [key: string]: unknown;
                  },
              >;
              [key: string]: unknown;
          },
      >