This documentation is for Insight for Server/Data Center only.

This import type will import objects into Insight with a JSON file that holds the data to import.

Import Type Fields

These are the module type specific fields needed to be configured for this import type:

Setting

Description

Import fromChoose if you want to import from an uploaded file or if you want to import from a URL

URL

Protocol, Hostname and Port of where to find the external JSON file. Example: http(s)://example.com/rest/api/service or file:///opt/csv/example.json

File

Choose from your uploaded files (or upload one file directly). Note that the file will be uploaded to the Jira server and need to be replaced if new data should be imported.

Username

Optional username for basic authentication 

Password

Optional password for basic authentication

EncodingThe encoding used in the file.


Object Type Mapping Settings

NameDescription
Selector

The selector for the JSON import. 

Use [Attribute.*[Attribute]]

Exemple:

  • "items"
  • "items.item"
  • "json.data.systems"

Only JSON arrays are valid as selector!

Data Locator

NameDescription
attribute1[*].attribite2[*]..

The data locators provided are depending on the JSON and the selector configured.


Predefined Structure & Configuration

The predefined structure and configuration will be created based on the JSON file/URL present in the configuration. Be aware that a predefined structure and configuration can be useless depending on the structure. You probably wants to create the structure and configuration as you really want it to be configured.