Configure label to be removed when issue is closed.
## Problem When an issue is closed, its most recent workflow label is not removed automatically, which is confusing. ### Proposal - Add an option to a label's configuration options to denote that it should be removed upon the closing of any issue it is attached to. (https://gitlab.com/gitlab-org/gitlab/issues/17461#note_238649809) Original description: <details> * When closing an issue, remove all labels on that issue that are list labels, i.e. any label that represents a list in some issue board. * This applies to all ways an issue can be closed, including: - When you close an issue from the issue itself. - When you close an issue via https://docs.gitlab.com/ce/user/project/issues/automatic_issue_closing.html - When you close an issue in the issue board UI via dragging. (:point_left: being existing functionality) * There should be some UI that informs that labels have been removed in this process. ### Summary When I close an Issue, the system do not remove the List Label. I am talking about Lists like "To Do". "Doing" and "Done" (when the Issue is closed). ### Steps to reproduce 1. Go to Issue Board view 2. Put an Issue in some List Label 3. Open the Issue and close it. ### What is the current *bug* behavior? When I close an Issue, the system do not remove the List Label (eg: To Do, Doing, etc) ### What is the expected *correct* behavior? If I close a Issue, I should see the Issue without any List Label. ### Output of checks This bug happens on GitLab.com. </details> ___ ## Proposal We'll be resolving this via https://gitlab.com/gitlab-org/gitlab/-/issues/242194. The goal is to implement an MVC for a generalized event/action automation on issues, and we'll start with configuring labels. This will allow us to extend automation to other ends (such as automating assignees) Please follow the progress in that thread.
issue