Insight External Import - Schema Configuration

Within my schema, there are multiple object types with the same names, but with different parent object type names. For example:

  1. Cow → baby
  2. Pig → baby
  3. Human → baby

This flag (Duplicate Key: IllegalStateException) appears when posting/patching to the mapping URL: {
“links”: {
/…/
“mapping”: “https://api.atlassian.com/jsm/insight/workspace/…”
}
}

I fixed it by adding indices to the child object types:

  1. Cow → baby_1
  2. Pig → baby_2
  3. Human → baby_3

But I’m seeking an alternative solution. (For eg; Within the JSM Insight Admin Settings)