OnLink · HR data
A practical guide to syncing employee records from NetSuite into Jira Service Management Assets with OnLink, then using them to automate transfers and offboarding.
NetSuite already knows who works where, for whom and in which role. Syncing that record into Jira Service Management Assets with OnLink lets IT act on HR changes automatically instead of waiting for an email.
New employees sync with department, manager and location, so automation can assign laptops by job title, grant licences by department and open reclamation tickets when someone is marked Inactive.
Role changes, promotions, name updates, joiners and leavers all reach Assets, so agents see the current picture on every ticket.
|
Prefix
|
Use
|
|---|---|
key: |
Required. The unique identifier; OnLink updates matching records instead of creating duplicates.
|
map: |
Standard text or value attributes.
|
config: |
Special settings, such as expanding related objects.
|
Paste this into the mapping text area and change the right-hand names to your attribute names:
key:id=Employee ID
map:firstName=First Name
map:lastName=Last Name
map:email=Email
map:phone=Phone Number
map:title=Job Title
map:hireDate=Start Date
config:expand=job,location
config:expand=job,location pulls in related data such as the job role or office location, not just the top-level employee profile.
Sarah moves from Marketing to Engineering and asks for a high-performance laptop.
HR changes Sarah's department to Engineering in NetSuite.
OnLink finds Sarah's object in Assets by key:id and updates the Department attribute.
A rule fires on Object Updated where Department is Engineering.
Her developer-laptop request is approved automatically because her object now meets the eligibility criteria.
|
NetSuite field
|
Mapping
|
Assets attribute
|
Why it matters
|
|---|---|---|---|
|
id
|
key:
|
NetSuite ID
|
Identifies Sarah uniquely
|
|
email
|
map:
|
Email
|
Matches her Jira user
|
|
department
|
map:
|
Department
|
Updates as soon as HR changes it
|
Once NetSuite data is syncing, one automation rule turns a status change into an equipment-reclamation ticket.
Schema IT Employee Assets, object type Employees, AQL: Status WAS "Active" AND Status CHANGED TO "Inactive". It only fires when the status actually flips, so no duplicate tickets.
Optionally check they hold assets, e.g. AQL: outboundReferences HAVING objectType = "Laptops".
Project IT Service Desk, type Service Request, with the employee and their assigned assets in the description.
Summary: OFFBOARDING: {{object.Name}} - ({{object.Department}})
The following employee has been marked Inactive in NetSuite.
Employee: {{object.Name}}
ID: {{object.Employee ID}}
Manager: {{object.Manager.Name}}
Current assigned assets:
{{#object.outboundReferences}}
* {{Name}} ({{Status}})
{{/}}
Please initiate equipment reclamation immediately.
Install OnLink from the Atlassian Marketplace and run your first NetSuite import today.
On a schedule you set. Most teams run it daily or hourly, depending on how often HR data changes.
Yes. Any custom field exposed through the NetSuite REST API can be mapped with map:yourCustomField=AssetAttribute.
When the status changes to Inactive or Terminated in NetSuite, OnLink updates the mapped Status attribute. Automation can then open an offboarding ticket or archive the object.
Yes. Use config:expand (for example config:expand=location). Separate object types for locations and departments give the cleanest structure.
In the NetSuite REST API Browser employee record definition.
NetSuite to Assets
OnLink imports NetSuite employees into JSM Assets on a schedule, no code needed.
With NetSuite data in Assets
RELATED