Darwinbox to JSM Assets

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. Here’s an example configuration:

Here’s a sample mapping config:

key:employee_id=WorkerID
map:first_name=Name
map:company_email_id=JiraUser
map:designation_name=Title
map:l2_manager_employee_id=ManagerName
map:date_of_joining=HireDate
config:dataset_key=<dataset key from Darwinbox>

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

Key or Map

Description

Key or Map

Description

key:employee_id=WorkerID

The keyword “key” refers to using Worker_ID as a unique identifier. This allows OnLink to update the record. WorkerID is a text attribute.

map:first_name=Name

Maps firstName to Name text attribute

map:company_email_id=JiraUser

The company_email_id field containing email address of worker is mapped to JiraUser, which is an attribute of type “User”. Here OnLink looks-up the Atlassian User object based on the email address.

config:dataset_key=

Unique dataset key provided by Darwinbox. Ref https://api-docs.darwinbox.com/#e3afba06-d4cf-479e-8605-26388b14eda3

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