I am trying to import User-Data into Insight via Rest API (
I have marked the two Areas in this Example Mapping:
{
"$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}"
}
]
}
]
}
}
It looks like external-import is very restricted :(
I dont see how we could make use of external-imports in its current state.
How do people solve these challenges?
Do you build your own imports through the Insight Rest-API? (an then have to handle all the update/delete/referencing yourself)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.