When moving issues from one project to another remove the closed issue from the assigned parent (epic) to declutter the epic list

Problem

My team's workflow consists of a 'planning' project that allows our product team to define and validate issues without cluttering up the developers / main projects workflow

When issues are staged and ready for the 'development' project they are assessed and weighted by our dev teams and then moved across

Issues going through this scenario are typically assigned a parent (Epic in this workflow) and when moved both the planning project issue and the development project issue are retained in the epic, cluttering up the epic issue list and skewing the completion rates.

I'm fairly certain this didn’t behave like this in the past and the timing at which i first noticed this happening coincided with the recent update to the epic feature

Suggested outcome

When an issue is moved (and thus the original closed) only the new version of the issue should retain the link to the parent

Edited by 🤖 GitLab Bot 🤖