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:
Diffstat (limited to 'doc/development/work_items.md')
-rw-r--r--doc/development/work_items.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/development/work_items.md b/doc/development/work_items.md
index 2b28b2cd4f2..73993b1d9ee 100644
--- a/doc/development/work_items.md
+++ b/doc/development/work_items.md
@@ -244,7 +244,19 @@ Keep the following in mind when you write your migration:
- In one of the example MRs we also insert records in the `work_item_hierarchy_restrictions` table. This is only
necessary if the new work item type is going to use the `Hierarchy` widget. In this table, you must add what
work item type can have children and of what type. Also, you should specify the hierarchy depth for work items of the same
- type.
+ type. By default a cross-hierarchy (cross group or project) relationship is disabled when creating new restrictions but
+ it can be enabled by specifying a value for `cross_hierarchy_enabled`.
+- Optional. Create linked item restrictions.
+ - Similarly to the `Hierarchy` widget, the `Linked items` widget also supports rules defining which work item types can be
+ linked to other types. A restriction can specify if the source type can be related to or blocking a target type. Current restrictions:
+
+ | Type | Can be related to | Can block | Can be blocked by |
+ |------------|------------------------------------------|------------------------------------------|------------------------------------------|
+ | Epic | Epic, issue, task, objective, key result | Epic, issue, task, objective, key result | Epic, issue, task |
+ | Issue | Epic, issue, task, objective, key result | Epic, issue, task, objective, key result | Epic, issue, task |
+ | Task | Epic, issue, task, objective, key result | Epic, issue, task, objective, key result | Epic, issue, task |
+ | Objective | Epic, issue, task, objective, key result | Objective, key result | Epic, issue, task, objective, key result |
+ | Key result | Epic, issue, task, objective, key result | Objective, key result | Epic, issue, task, objective, key result |
##### Example of adding a ticket work item