Within my schema, there are multiple object types with the same names, but with different parent object type names. For example:
- Cow → baby
- Pig → baby
- 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:
- Cow → baby_1
- Pig → baby_2
- Human → baby_3
But I’m seeking an alternative solution. (For eg; Within the JSM Insight Admin Settings)