• Products
  • Get started
  • Documentation
  • Resources

Automatically create object types and attributes

Assets in Jira Service Management is a Premium and Enterprise only feature. Learn more about Assets.

Importing is a way to bring outside data into Assets and automatically convert it into Assets object types, objects, attributes and references.

If you are importing formatted information such as JSON, CSV, or Assets Discovery files, you can quickly create object types, objects, and attributes from your data by selecting Automatically create object types and attributes when you are creating an import structure.

You can upload a file to use as a data source, or you can import data from a web address.

Automatically create object types and attributes when importing

  1. Select an Object schema.

  2. Select Schema configuration, then choose the Import tab.

  3. Under the Import tab:

    1. If there is no import structure you will see the message No Import structure created. Click on Be the first to create one.

    2. If an import structure has already been created, click Create import to add a new import structure.

  4. Select one of the following from the pop-up window:

    1. CSV Import - imports data from a CSV (Content Separated Value) file.

    2. Discovery Import - imports data from an Assets Discovery file.

    3. External Import - imports data from an external app.

    4. JSON Import - imports data from a JSON (JavaScript Object Notation) file.

  5. In the Define import structure screen:

    1. Select a Name for your import structure.

    2. If you want to use a file as your data source, select Upload a file from your computer, and then drag and drop a file, or Browse.

    3. If you want to use a web address as your data source, select Import data from a web address and then enter the URL of the source data. The source data address must be public and secure (https). Uploaded files must not be larger than 10 MB in size.

  6. Select Automatically create object types and attributes. The new object type will have the same name as the CSV file. If an object type already exists with the same name as the CSV file, Assets will create new objects of that object type.

  7. Select Create.

  8. The Imports tab should now be populated with your new import structure. When you run this import structure, object types, attributes, and objects should be automatically created for you.

How to import data into Assets

  1. There are five steps when importing your data into Assets:

    1. Prepare your data.

    2. Create an import structure. There are four different types of import available:

      1. Discovery. Learn more about how to bring data from Discovery into Assets.

      2. CSV. Learn more about how to configure your CSV for importing.

      3. JSON import. Learn more about importing data from a JSON file.

      4. External import. Learn more about how to develop an app to import data into Assets.

    3. Map your data. There are two options:

      1. Map your data automatically by automatically creating object types and attributes, or;

      2. Map your data manually by:

        1. Using object type mapping to create Assets object types

        2. Using object type attribute mapping to create Assets attributes and references

        3. Using child object type mapping to create hierarchical parent and child structures.

    4. After you have created your object type mappings you must enable them. The import structure will not be executable until all object type mappings are set to ENABLED. If your object type mappings are not enabled, right-click on your object type mapping and click Enable to enable them.

    5. Execute the import.

 

Additional Help