Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16054

Import duplication when object type mapping has two identifiers and one is another referenced object

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.2.0, 5.12.15, 5.17.5, 10.1.2
    • Assets - Import

      Issue Summary

      This is reproducible on Data Center: (yes)

      During object import, objects are duplicated when object type mapping has two identifiers and one is another referenced object

      Steps to Reproduce

      1. Create object type called "City" in your schema (with just default attributes). City object Type should not have any objects.
      2. Also create an object type called "Employee" with the default attributes and an attribute of "City" of the City object type created in step 1
      3. Create an import configuration in your schema with the attached CSV file
      4. After the configuration is created, create an object type mapping within the configuration selecting the Employee object type created in step 2 and set the identifiers of the mapping to be "Name" and "City" and ensure both are ticked (See screenshot for end result of import configuration)
        1. Ensure that for the Employee object type mapping, Missing objects are ignored
      5. Execute import and check that the objects were correctly imported
      6. Execute import another time without making any changes

      Expected Results

      There should not be any duplicates.

      Actual Results

      It creates duplicate.

      Workaround

      Required, if there is no workaround please state:
      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [JSDSERVER-16054] Import duplication when object type mapping has two identifiers and one is another referenced object

            There are no comments yet on this issue.

              Unassigned Unassigned
              6f6f0ed1241f Shiwani Choudhary
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: