Insight External Import

Hi all,

I am trying to trying to develop some external imports to Insight Cloud. I have successfully import data to new object types as well as existing types using the existing documentation and the json scheme mapping 2021_09_15.

I would like to know if there is some other specifications to apply in the mapping scheme json or in the data json so I can import objects that contains references to other objects in their attributes. Any sample json or further documentation links would be appreciated.

Kind regards

[luis@fedora ldap]$ ./import.sh
INFO: Token verification:
:heavy_check_mark: Status link: https://api.atlassian.com/jsm/insight/workspace/
:heavy_check_mark: Import start link : https://api.atlassian.com/jsm/insight/workspace/
:heavy_check_mark: Mapping submit link : https://api.atlassian.com/jsm/insight/workspace/
INFO: Put schema and mapping configuration
:heavy_check_mark: Put schema and mapping configuration
INFO: Kick off an import
:heavy_check_mark: Kick-off import result : success…
:heavy_check_mark: - Submit progress url : https://api.atlassian.com/jsm/insight/workspace/
:heavy_check_mark: - Submit results url : https://api.atlassian.com/jsm/insight/workspace/
:heavy_check_mark: - Get execution status : https://api.atlassian.com/jsm/insight/workspace/
:heavy_check_mark: - Cancel url: https://api.atlassian.com/jsm/insight/workspace/
INFO: Get Status:
:heavy_check_mark: Import status : RUNNING
:heavy_check_mark: - Get execution status : https://api.atlassian.com/jsm/insight/workspace/
:heavy_check_mark: - Cancel url: https://api.atlassian.com/jsm/insight/workspace/
INFO: Submit dataset
:heavy_check_mark: success
INFO: Submit complete
:heavy_check_mark: success
INFO: Get Status:
:heavy_check_mark: Import status : IDLE

1 Like

Hi Luis,

We just released support for object references. This backwards compatible change has been added to the 2021_09_15 schema, so you can continue to use it while adding object reference attributes to your objects.

See our documentation here: External Imports - Schema and mapping

Kind regards,
Roger (dev @ Insight)

thanks for remember it!