(Globally) deleted labels are not logged in a issues history

Summary

When a labels get's deleted, it's also removed from the issues, where it was applied.
Unfortunately, this event is not logged in the issue's history, thus there is a problem for audit sessions.

Steps to reproduce

  1. Create a label.
  2. Create an issue and assign that label.
  3. Delete the label.
  4. Check the issue's history.

Example Project

The reproduction steps are easy and don't need a full blown example project.

What is the current bug behavior?

The global delete action of labels is not logged in the issue's history, for issues, that used that label.

What is the expected correct behavior?

If a label get's deleted and was assigned to an issue, this should be logged in the issue's history as an event.
It shouldn't be the label unassigned message, because a global delete is different from that.

Relevant logs and/or screenshots

image

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Possible fixes

  1. Log deleted labels in issues which used that label.
  2. Maybe: Log such deletions in a more global log.
    Is there a group-level log?
Assignee Loading
Time tracking Loading