Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26364

Deleting the Parent Issue when the child is archived or deleting the Parent Issue Project of a Parent Link causes data discrepancy

XMLWordPrintable

      Issue Summary

      Deleting the Parent Issue when the child is archived or deleting the Parent Issue Project of a Parent Link causes a discrepancy in the entity_property table.

      Steps to Reproduce

      1. Create 2 projects (Parent, Child)
      2. Create an issue type "Initiative".
      3. Update the issue type scheme of the project which will have the "parent"
        • This means that the project with the child tickets,  won't have that in the issue type scheme that type of ticket.
      4. Update the hierarchy on the App Manage > Advance Roadmap Hierarchy > Add initiative to be the parent of an epic.
      5. Create a ticket Initiative in the parent project
      6. Create a ticket Epic in the child project.
      7. Update the parent link in Epic, linking to the initiative.
        •  For this you might need to add the field to the screen of the issue view.

      Expected Results

      1. If the parent issue project is removed, issuelink table is cleared, and entity_property table should remove the Parent issue ID, maintaining consistency.
      2. If the Child Issue is archived, and the Parent issue is deleted, issuelink table is cleared, and entity_property table should remove the Parent issue ID, maintaining consistency.

      Actual Results

      1. If the parent issue project is removed, issuelink table is cleared, but the entity_property table will keep the Parent issue ID.
      2. If the Child Issue is archived, and the Parent issue is deleted, issuelink table is cleared, but the entity_property table will keep the Parent issue ID.

      Workaround

      1. Update the Parent Link on the child issue and set it to a dummy Parent issue.
      2. Remove the Parent Link.

              Unassigned Unassigned
              1edd59bb2c95 Mateus Gomes (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: