generated from cloudoperators/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Task Description
The current autopatching/closing process removes ComponentInstances and their associated IssueMatches that are no longer present. However, additional related records also need to be deleted to maintain data integrity:
- If a
ComponentVersionassociated with a deletedComponentInstanceno longer has any connections to otherComponentInstances, it should be removed. - Before deleting the
ComponentVersion, ensure that all entries inComponentVersionIssuerelated to thisComponentVersionare deleted. - Finally, check if the
Componentlinked to the deletedComponentVersionhas any remaining associations with otherComponentVersions. If not, theComponent should also be deleted.
Metadata
Metadata
Assignees
Labels
No labels