{
"$schema": "https://api.stg.atlassian.com/jsm/insight/imports/external/schema/versions/2021_09_15",
"schema": {
"objectSchema": {
"name": "User",
"description": "User",
"objectTypes": [
{
"name": "User",
"description": "User",
"attributes": [
{
"name": "Name",
"description": "Name of User",
"type": "text",
"label": true
},
{
"name": "Email",
"description": "Email of User",
"type": "text"
},
{
"name": "Jira-User",
"description": "Link to Jira User",
"type": "text"
},
{
"name": "Status",
"description": "active/deleted",
"type": "text"
}
]
}
]
}
},
"mapping": {
"objectTypeMappings": [
{
"objectTypeName": "User",
"selector": "myUser",
"description": "Mapping for User",
"attributesMapping": [
{
"attributeName": "Name",
"attributeLocators": [
"Name"
],
"externalIdPart": true
},
{
"attributeName": "Email",
"attributeLocators": [
"Email"
]
},
{
"attributeName": "Jira-User",
"attributeLocators": [
"Email"
],
"objectMappingIQL": "User.Email Like ${Email}"
}
]
}
]
}
}