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

Removing inheritance on Object type with Parent and Child Object types removes Child Object type attributes

      Issue Summary

      This issue is specific to scenario where there is an Object type with inheritance option enabled. This Object Type has "Parent" Object type without inheritance and has a "Child" Object type with inherited attributes. 

      For such Object Type it is possible to remove inherited option in the Object type configuration. 

      And which would lead to a broken Child Object type: 

      • Default Attributes are removed (Name, Key, Created, Updated) 
      • Not possible to create new attributes for Child Object Type

      Steps to Reproduce

      1. Create a Parent Object type (i.e. Department) - do not enable inheritance for this Object type
      2. Create Child Object type (i.e Team) under Department Object type
      3. Enable inheritance for Team Object Type
      4. Create a Child Object type (i.e. Team Members) under Team Object Type
      5. Remove the inheritance for Team Object Type.

      Expected Results

      When trying to remove inheritance for Team Object type system should return error:
      "Not possible to remove inheritance when child object types already exists."

      Actual Results

      Inheritance is removed and Child Object type (Team Members) is broken:

      1. Default Attributes are removed (Name, Key, Created, Updated) 
      2. Not possible to create new attributes for Child Object Type:
        UI Error:
        We couldn’t create your attribute
        Please check your network and try again.

        API response Error:

         {"errorMessages":["Something went wrong. Contact administrator"],"errors":{}}

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [JSDCLOUD-15542] Removing inheritance on Object type with Parent and Child Object types removes Child Object type attributes

            Sowkot Osman made changes -
            Development Effort New: M [ 13032 ]
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            Sowkot Osman made changes -
            Remote Link New: This issue links to "QB-2778 (Jira)" [ 972739 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Ivan Chapistrak made changes -
            Labels New: jsm-s13
            Ivan Chapistrak created issue -

              Unassigned Unassigned
              207d30156835 Ivan Chapistrak
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: