map_users
Resolves source-platform users to ServiceNow sys_user IDs by matching against loaded users and groups, using a fallback for unmatched entries.
Instructions
Load all ServiceNow users and groups into memory, then resolve a list of source-platform users (Jira / Salesforce) to ServiceNow sys_user sys_ids. Returns a match report with matched/unmatched lists and the fallback user used. Call this before running a migration that has assignee / owner / reporter fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_users": "<source_users>"
},
"name": "map_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_users | Yes | Array of source platform users to resolve | |
| fallback_user_email | No | SN user email to use when no match is found | |
| fallback_group_name | No | SN group name to use when no group match is found |