Iru (Kandji) to JSM Assets
Import Iru (Kandji) data into JSM Assets
Overview
Use OnLink to import devices, applications, users, and related attributes from Iru (Kandji) into JSM Assets. This guide explains how to configure the Iru (Kandji) connection, set up the Assets import, define mappings, test the import, and schedule production runs.
Prerequisites
Before you begin, make sure you have:
Access to OnLink from Manage your apps.
A Iru (Kandji) API URL and API key.
A Iru (Kandji) API token with the required device permissions.
Access to configure JSM Assets import settings.
Set up the Kandji connection
Open OnLink from Manage your apps.
Go to Connections.
Select Add System.
Choose IdM/Device Assets Sources.
Enter the Iru (Kandji) API URL and API key.
Save the connection.
For Iru (Kandji) API details, see Kandji API Overview.
Required Kandji API permissions
To import Kandji devices into Assets, configure the Kandji API token with at least Device list permissions. The token must include the access required for the import task. To gather information about all devices, use the following permissions:
Permission | Description |
Devices: Device Information: Device list | Get a list of all devices in the Kandji tenant |
Devices: Device Information: Device details | Get the full details for a specific device |
Configure the Assets import
After the connection is established, review the Assets import setup instructions.
Open OnLink from Manage your apps.
Configure the Assets import settings.
Define the field-level mappings for your Assets object type.
Example device mapping
Use the following sample mapping configuration as a starting point:
key:device_id=id
map:user.email=userId
map:device_name=deviceName
map:model=deviceModel
map:platform=operatingSystemMapping reference
The table below explains common mapping and configuration entries. Use any other field returned by the Kandji API if it is required for your Assets object type.
Entry | Purpose | Example / notes |
|---|---|---|
| Uses |
|
| Maps the Kandji user email to the | Use this when the Assets attribute stores the email as text. |
| Maps the Kandji user email to an Assets attribute of type User. | OnLink looks up the Atlassian user object by email. |
| Filters imported devices by platform. | Supported filter values include |
| Pulls all apps from Kandji into an app-specific Assets object type. | Use |
| Pulls the apps installed on each device. | Use with the |
| Pulls ADE devices from Kandji. | Additional fields from the Kandji ADE devices API can be included in the mapping. |
Filters and sections
All apps
Use this configuration to pull all apps from Kandji into an app-specific Assets object type:
key:bundle_id=AppID
map:app_name=App Name
map:source=App Source
config:section=all_appsPer-device apps
Use this configuration to pull the apps installed on each device. This works with the all-apps configuration to map one or more apps to a device:
key:device_id=Device ID
map:device_name=Device Name
map:model=Model
map:appBundleIds=Apps|AppID=${appBundleIds}
config:section=per_device_appsADE devices
Use the following data source to pull ADE devices:
config:data_source=ade/devicesExample mappings are shown below. You can include other fields from the Kandji ADE devices API if needed:
key:id=<assets attribute>
map:device_family=<assets attribute>
map:user_id=<assets attribute>
map:model=<assets attribute>
map:os=<assets attribute>
map:serial_number=<assets attribute>
map:mdm_device.enrollment_status=<assets attribute>Testing and scheduling
OnLink processes data in two steps: Get Data and Import Data.
Click Get Data.
Wait until the Job Logs show: No more pending records. Data will be imported on next Import run.
Click Import.
For production, configure the schedule you want to use. Production runs are fully automated based on that schedule.
Troubleshooting and notes
Any field returned by the Kandji API can be used in the mapping.
For a full list of available device fields, see the Kandji List Devices API.
Confirm that the Kandji API token has the required permissions before testing the import.