Update gitlab_project_label
to not require replacement to update name
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Feature update
Currently, updating the name
attribute on gitlab_project_label
destroys the old label and creates a new one, removing the label from old issues and MRs which is undesirable.
This should be changed to instead perform an update
operation. Make this change requires two updates:
- the
id
attribute of the project label needs to be changed to be<project>:<label_id>
instead of<project>:<name>
- the
update
function needs to pass in thename
attribute.
Edited by 🤖 GitLab Bot 🤖