Skip to content

Remove list labels when closing an issue

Description

  • 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:
  • There should be some UI that informs that labels have been removed in this process.

Original description

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.