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

Creating an import with predefined structure deletes an existing object type's label

      Issue Summary

      When an import is created and the "Automatically create object types and attributes" option is enabled, doing so can result in an existing object type's label being deleted and replaced with another new attribute.

      Steps to Reproduce

      1. Create an import with a few attributes, using a CSV file. Enable the "Automatically create object types and attributes" option. Include at least 1 "Name" attribute which will be created as the label.
      2. Run the import to create some objects.
      3. Modify the CSV file to remove the "Name" attribute.
      4. Create another import in the same manner as step 1, using the same CSV file name (so that it targets the same object type).

      Expected Results

      Attributes should be additively added and the existing label on the object type should not be affected.

      Actual Results

      The existing label ("Name") attribute of the object type is deleted and replaced with a new label attribute from another CSV column name.

      This results in errors described in https://confluence.atlassian.com/jirakb/something-s-gone-wrong-error-when-viewing-objects-in-an-object-type-1251411097.html.

      Workaround

      Use a different file name so that a new object type is created instead of modifying an existing one.

          Form Name

            [JSDCLOUD-14754] Creating an import with predefined structure deletes an existing object type's label

            There are no comments yet on this issue.

              Unassigned Unassigned
              owessels oli
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated: