Snipe-IT to JSM Assets
Import list of users from Snipe-IT to JSM Assets.
Configure the connection to Snipe-IT by going to OnLink (Manage your apps) - Connections. Then click on Add System and select “Other Data Sources” option in the connection screen. Here you can set the API URL and API Key from Snipe-IT. See this document for reference: Snipe-IT API Overview
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. Here’s an example mapping configuration:
key:id=id
map:first_name=First Name
map:last_name=Last Name
map:username=User Name
map:jobtitle= Job Title
map:phone=Phone
config:api=api/v1/usersHere’s a breakdown of some of the mapping configuration items:
Key or Map | Description |
|---|---|
| The keyword “key” refers to using id as a unique identifier. This allows OnLink to update the record. “id” is a text attribute. |
| Maps first_name to First Name text attribute |
| Maps username to User Name text attribute |
| Use this config to pull list of people
Any fields from this API can be included. |
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.