jira.js
    Preparing search index...

    Function addCustomers

    • Adds one or more customers to a service desk. If any of the passed customers are associated with the service desk, no changes will be made for those customers and the resource returns a 204 success code.

      Permissions required: Service desk administrator

      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 the customer list should be returned from. 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>