Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-29 09:08:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-29 09:08:45 +0300
commit4bc1e04a7adb4b183c713e5faff726579e909d1c (patch)
tree1a77e5900059f9c89f74741fa7f2da151b1b58cc /doc/api/labels.md
parent06253b6c70d1770d842edb884dfecac20bcfec6c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/labels.md')
-rw-r--r--doc/api/labels.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/api/labels.md b/doc/api/labels.md
index 844b09fb0f4..acc80badd11 100644
--- a/doc/api/labels.md
+++ b/doc/api/labels.md
@@ -249,9 +249,12 @@ An older endpoint `PUT /projects/:id/labels` with `name` or `label_id` in the pa
## Promote a project label to a group label
-> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/25218) in GitLab 12.3.
+> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/25218) in GitLab 12.3.
+> - In [GitLab 13.6 and later](https://gitlab.com/gitlab-org/gitlab/-/issues/231472), promoting a
+> project label keeps that label's ID and changes it into a group label. Previously, promoting a
+> project label created a new group label with a new ID and deleted the old label.
-Promotes a project label to a group label.
+Promotes a project label to a group label. The label keeps its ID.
```plaintext
PUT /projects/:id/labels/:label_id/promote