jira.js
    Preparing search index...

    Function addCustomersSkippingPermissionCheck

    • Adds one or more customers to a service desk 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/servicedesk/{serviceDeskId}/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.

      If any of the passed customers are already associated with the service desk, no changes will be made for those customers and the resource returns a 204 success code.

      Parameters

      • client: Client
      • parameters: { accountIds?: string[]; serviceDeskId: string; usernames?: string[] }
        • OptionalaccountIds?: string[]

          List of users, specified by account IDs, to add to or remove from a service desk.

        • serviceDeskId: string

          The ID of the service desk to add customers to. This can alternatively be a project identifier.

        • Optionalusernames?: string[]

          This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details. Use accountIds instead.

      • Optionaloptions: RequestOptions

      Returns Promise<void>