JAMF to JSM Assets

Configure the connection to JAMF by going to OnLink (Manage your apps) - Connections. Then click on Add System and select “Idm/Device Assets Sources”. Refer to this link for information on getting API credentials: https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html

Once connection is established, please review instructions here to get started with setting up an Assets import configuration. You can then access OnLink app from the “Manage your apps” menu to further configure and set the field level mapping.

OnLink allows you to pull data from any JAMF API either Classic or Pro versions.

Here’s an example mapping configuration when pulling in mobile device data from this classic API.

key:mobile_device.id=Device ID
map:mobile_device.serial_number=Serial Number
map:mobile_device.device_name=Device Name
map:mobile_device.name=Name
map:mobile_device.model=Model

config:api=JSSResource/mobiledevices

Here’s a breakdown of some of the mapping configuration items:

Key or Map

Description

Key or Map

Description

key:mobile_device.id=Device ID

The keyword “key” refers to using ID as a unique identifier. This allows OnLink to update the record.

map:mobile_device.device_name=Device Name

Maps device name to attribute

config:api=JSSResource/mobiledevices

Can be set to any other API from JAMF as well.

Update the mapping based on the API response to import data from any JAMF API to JSM Assets

Similarly, you can use a Pro API to pull data as well. Here’s an example mapping configuration when pulling in computer inventory data from this pro API.

key:id=id
map:general.name=Name
map:general.platform=platform
map:groupMemberships=BAssets|Name=${groupMemberships}|arrayElement=GROUPID
config:api=api/v1/computers-inventory

OnLink processes data in two steps - Get Data and Import Data. To manually test, you can click on Get Data first and then wait until you see “No more pending records. Data will be imported on next Import run.” message in Job Logs. Then, click on Import. Production runs are fully automated based on the schedule you choose.

image-20240318-045922.png