Duplicate objects are created if key and other additional attributes are marked as identifiers in the assets import mapping

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 1
    • Warranty

      Issue Summary

      Duplicate objects are created if the key and any additional attributes are marked as identifiers in the import mapping configuration, even if those match the attribute values of existing objects.

      Steps to Reproduce

      1. Use an object type or create one that has additional custom attributes and have an object created on it. Suppose those are the object attributes:
        Key Name Your attribute
        OBJ-1 Your object name Attribute value
      1. Create a csv import configuration using the following csv as example:
        Key,Name,Attr
        OBJ-1,Your object name,Attribute value
        
      1. Map all those attributes on the import configuration, but mark both Key and Your attribute as identifiers.

      NOTE: The same behaviour happens with External System JSON import process as well mentioned in the documentation "https://developer.atlassian.com/cloud/assets/imports-rest-api-guide/schema-and-mapping/".

      Expected Results

      As an object already exists matching the identifiers values, no new objects should be created and the existing object should be updated.

      Actual Results

      Duplicate objects are created.

      Workaround

      The only known workaround at the moment is leaving only the Key attribute as an identifier.

              Assignee:
              Bhupender Singh
              Reporter:
              Vitor Maldonade
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: