Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-16711

Assets import using JSON file with no label and selector as "." fails

      Issue Summary

      A JSON file of the following format does not follow the prescribed format in our documentation.

       

      [
          {
              "Name":  "name",
              "Manager":  "manager",
              "EMail":  "email@example.com"
              ... more attributes
          },
          ... more objects
      ] 

      The correct format would look like this

      {
          "Employees":  [
              {
                  "Name":  "name",
                  "Manager":  "manager",
                  "EMail":  "email@example.com"
                  ... more attributes
              },
              ... more objects
          ]
      } 

       

      Support for format 1 with selector "." is missing in the new architecture.

       

      Steps to Reproduce

      1. Use JSON of the format mentioned in Issue Summary to create an import.
      2. The mapping in the import would not show the attributes from JSON.

      Expected Results

      The mapping in the import should be able to find the attributes in the JSON when selector is set to ".".

      Actual Results

      Mapping dropdown does not include attributes from JSON.

      Workaround

      Use the correct format for JSON as recommended in documentation.

            [JSDCLOUD-16711] Assets import using JSON file with no label and selector as "." fails

              3c643a26c280 Ayush Goel
              3c643a26c280 Ayush Goel
              Affected customers:
              2 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: