Saviynt to JSM Assets
Import Saviynt Data into JSM Assets with OnLink
Use OnLink to import users, groups, roles, entitlements, organizations, and related attributes from Saviynt into Jira Service Management (JSM) Assets.
Overview
This guide explains how to configure an OnLink import from Saviynt to JSM Assets. You will connect OnLink to Saviynt, create an Assets import configuration, define field mappings, select the Saviynt API source, test the import, and schedule automated production runs.
Prerequisites
OnLink is installed and available in Jira from Manage your apps.
You have access to the target JSM Assets schema and object type.
A Saviynt connection is configured in OnLink. In Jira, go to Manage your apps > OnLink > Connections and configure the Saviynt connection.
You have identified the Saviynt API and response section that contains the records you want to import.
You have reviewed the base Assets import configuration setup guide.
Reference documentation
Use the Saviynt API reference to confirm API names, request methods, filters, and response sections:
https://docs.saviyntcloud.com/bundle/API-Reference-Guide/page/Content/API-References.htm
Set up the Assets import configuration
First, create the base Assets import configuration in JSM Assets. Review the setup guide: Assets import configuration.
After the base configuration is created, open OnLink from Manage your apps and configure the Saviynt source and field-level mappings.
Configure the Saviynt importer
Use the following procedure to configure the importer.
Enter a descriptive name for the mapping.
Set Source system to Saviynt.
Confirm the Asset Schema. OnLink pre-fills this value from the JSM Assets schema where you started the configuration.
Select the target Object Type within the schema.
Select the schedule frequency for automated production runs.
Add the attribute mappings. Use the mapping examples below as a starting point.
Add any required
config:parameters for the Saviynt API you want to call, such asconfig:data_source,config:section,config:http_method, and filters.
Mapping examples
User mapping
Use this mapping to import Saviynt users into a JSM Assets user object type. Any field available in the Saviynt Identity Administration - Users - Get List of Users API can be mapped to an Assets attribute.
key:username=Username
map:firstname=Firstname
map:lastname=Lastname
map:email=User
config:filter=accountExpired:0Organization mapping
Use this mapping to import organization records from the Saviynt Identity Administration - Organization - Get Organization API.
key:organizationname=OrgName
map:customproperty17=Custom
map:parentorganization=Parent
config:data_source=getOrganization
config:section=organizationsUser role mapping
Use this mapping to import user role details from the Saviynt Identity Administration - Users - Get Flat Response Role Details For User API.
key:rolekey=Username
map:roledisplayname=RoleDisplay
map:rolename=RoleName
config:data_source=getRoleDetailsforUsers
config:section=roleDetailsEntitlement type mapping
Use this mapping with the Get List of Entitlement Types API: {{url}}/ECM/{{path}}/getEntitlementTypes.
key:entitlementname=entitlementname
map:endpoint=endpoint
config:data_source=getEntitlementTypes
config:section=entitlementTypeDetails
config:page_size=200Increase config:page_size only when the Saviynt API limits support a larger page size.
Endpoint mapping
Use this mapping to call getEndpoints and import active endpoints.
config:data_source=getEndpoints
config:section=endpoints
config:http_method=POST
config:filterKey=status
config:filterValue=1config:filterKey=status and config:filterValue=1 set status=1 in the Saviynt filter criteria.
Entitlement mapping
Use this mapping to call getEntitlements and import active entitlements.
config:data_source=getEntitlements
config:section=Entitlementdetails
config:http_method=POST
config:filterKey=entQuery
config:filterValue=ent.status=1Import user roles and entitlements
To import roles or entitlements assigned to users, configure OnLink to get users first and then expand each user with the related records.
User + roles mapping
config:data_source=getUser
config:section=userdetails
config:expand=roles
config:http_method=POST
key:username=<your_obj_attr>
map:user_roles=<roles_obj_attr>|Name=user_roles<roles_obj_attr> must be an Assets attribute that references the Roles object type. Set the attribute cardinality to allow more than one value.
User + entitlements mapping
config:data_source=getUser
config:section=userdetails
config:expand=entitlements
config:http_method=POST
key:username=<your_obj_attr>
map:user_entitlements=<ents_obj_attr>|Name=user_entitlements<ents_obj_attr> must be an Assets attribute that references the Entitlements object type. Set the attribute cardinality to allow more than one value.
Mapping reference
Use the following reference to understand common mapping and configuration entries.
Mapping item | Purpose | Notes |
|---|---|---|
| Uses the Saviynt | Required. This lets OnLink update existing records instead of creating duplicates. You can use another unique field, such as user ID or email address, if it is available and stable. |
| Maps a Saviynt email value to an Assets attribute named User. | User must be an Assets attribute of type User. OnLink looks up the Atlassian user by email address. |
| Limits the users returned by the Saviynt API. | This is required when getting users. You can also set a user query, such as |
| Changes the Saviynt API source that OnLink calls. | OnLink calls the Get List of Users API by default. Use this with |
| Identifies the array element in the Saviynt API response that contains the records to import. | Examples include |
| Sets the request method to HTTP POST. | Use this when the selected Saviynt API requires POST. |
| Overrides the API version configured in the Saviynt connection URL. | Optional. By default, OnLink uses the version specified in the connection URL. |
| Adds filter criteria for APIs that require key/value filter input. | Example: |
| Sets the number of records requested per page. | Optional. Increase only when supported by Saviynt API limits. |
Test and validate the import
OnLink processes data in two separate steps: Get Data and Import Data.
Click Get Data to pull records from Saviynt into OnLink staging.
Open the job logs and wait for the message: No more pending records. Data will be imported on next Import run.
Click Import Data to create or update objects in JSM Assets.
Review the target object type in JSM Assets and confirm that objects, attributes, and references were imported as expected.
Production runs are fully automated based on the schedule selected in the importer configuration.
Troubleshooting tips
If no records are returned, confirm that the Saviynt connection is valid and that the filter matches records in Saviynt.
If records are staged but not imported, confirm that the
key:mapping points to a unique Assets attribute.If reference attributes do not populate, confirm that the referenced object type exists and that the lookup field, such as
Name, matches the referenced object records.If the API call fails, confirm whether the Saviynt endpoint requires
config:http_method=POSTand whether the configuredconfig:sectionmatches the response array.