summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-05-20 10:18:08 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2019-05-20 10:18:08 +0200
commit817c2c44f528fda8b68a98ada04b9741a3c9e3d1 (patch)
treed193b6ae3f1bbde19a6d1a46a6b13bc4f115b8ac
parent82c4a99cdc1568fda80905b772316b9cde4aa54d (diff)
downloadgitlab-ce-817c2c44f528fda8b68a98ada04b9741a3c9e3d1.tar.gz
Add a note about nested scopes matching
-rw-r--r--doc/user/project/labels.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/project/labels.md b/doc/user/project/labels.md
index ac91cd4ea98..8869d85bbe0 100644
--- a/doc/user/project/labels.md
+++ b/doc/user/project/labels.md
@@ -32,6 +32,12 @@ An issue, epic, or merge request cannot have two scoped labels with the same key
For example, if an issue is already labeled `priority::3` and you apply the label `priority::2` to it,
`priority::3` is automatically removed.
+NOTE: **Note:**
+In the case where labels have multiple sets of `::`, the longest path is used
+for mutual exclusivity check. For example, for label `some::key::value` we
+would check for exclusivity on `some::key::` level instead of `some::` - this
+allows finer grained organization.
+
### Workflows with scoped labels **[PREMIUM]**
Suppose you wanted a custom field in issues to track the platform operating system