Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Import devices, applications, users and other attributes from Jamf to JSM Assets.

Configure the connection to Oracle HCM JAMF by going to OnLink (Manage your apps) - Connections. Then click on Add System and select “HR 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 . Any field available in this Oracle API can be used to map to the asset attributewhen pulling in mobile device data from this classic API.

key:PersonNumber=WorkerIDmobile_device.id=Device ID
map:WorkEmail=Usermobile_device.serial_number=Serial Number
map:FirstName=First mobile_device.device_name=Device Name
map:LastNamemobile_device.name=Last Name
map:assignments.0.ManagerId=ManagerUserIdmobile_device.model=Model

config:api=JSSResource/mobiledevices

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

Key or Map

Description

key:PersonNumber=WorkerIDmobile_device.id=Device ID

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

map:WorkEmail=UserMaps email to User which can be an attribute of type Usermobile_device.device_name=Device Name

Maps device name to attribute

config:api=hcmRestApi/resources/11.13.18.05/empsJSSResource/mobiledevices

Can be set to any other API from Oracle JAMF as well - https://docs.oracle.com/en/cloud/saas/human-resources/24c/farws/op-emps-get.html

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

Any other field returned by the API can be used in the mapping. 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.

...