You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/api/group_milestones.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ GET /groups/:id/milestones?state=active
21
21
GET /groups/:id/milestones?state=closed
22
22
GET /groups/:id/milestones?title=1.0
23
23
GET /groups/:id/milestones?search=version
24
+
GET /groups/:id/milestones?updated_before=2013-10-02T09%3A24%3A18Z
25
+
GET /groups/:id/milestones?updated_after=2013-10-02T09%3A24%3A18Z
24
26
```
25
27
26
28
Parameters:
@@ -32,7 +34,9 @@ Parameters:
32
34
|`state`| string | no | Return only `active` or `closed` milestones |
33
35
|`title`| string | no | Return only the milestones having the given `title`|
34
36
|`search`| string | no | Return only milestones with a title or description matching the provided string |
35
-
|`include_parent_milestones`| boolean | optional | Include milestones from parent group and its ancestors. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/196066) in GitLab 13.4 |
37
+
|`include_parent_milestones`| boolean | no | Include milestones from parent group and its ancestors. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/196066) in GitLab 13.4 |
38
+
|`updated_before`| datetime | no | Return only milestones updated before the given datetime. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Introduced in GitLab 15.10 |
39
+
|`updated_after`| datetime | no | Return only milestones updated after the given datetime. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Introduced in GitLab 15.10 |
|`id`| integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user |
31
-
|`iids[]`| integer array | optional | Return only the milestones having the given `iid` (Note: ignored if `include_parent_milestones` is set as `true`) |
32
-
|`state`| string | optional | Return only `active` or `closed` milestones |
33
-
|`title`| string | optional | Return only the milestones having the given `title`|
34
-
|`search`| string | optional | Return only milestones with a title or description matching the provided string |
35
-
|`include_parent_milestones`| boolean | optional | Include group milestones from parent group and its ancestors. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/196066) in GitLab 13.4 |
33
+
|`iids[]`| integer array | no | Return only the milestones having the given `iid` (Note: ignored if `include_parent_milestones` is set as `true`) |
34
+
|`state`| string | no | Return only `active` or `closed` milestones |
35
+
|`title`| string | no | Return only the milestones having the given `title`|
36
+
|`search`| string | no | Return only milestones with a title or description matching the provided string |
37
+
|`include_parent_milestones`| boolean | no | Include group milestones from parent group and its ancestors. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/196066) in GitLab 13.4 |
38
+
|`updated_before`| datetime | no | Return only milestones updated before the given datetime. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Introduced in GitLab 15.10 |
39
+
|`updated_after`| datetime | no | Return only milestones updated after the given datetime. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Introduced in GitLab 15.10 |
Copy file name to clipboardexpand all lines: doc/user/group/manage.md
+71
Original file line number
Diff line number
Diff line change
@@ -549,6 +549,77 @@ To enable group file templates:
549
549
1. Choose a project to act as the template repository.
550
550
1. Select **Save changes**.
551
551
552
+
## Group merge checks settings **(PREMIUM)**
553
+
554
+
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/372040) in GitLab 15.9 [with a flag](../../administration/feature_flags.md) name `support_group_level_merge_checks_setting`. Disabled by default.
555
+
556
+
FLAG:
557
+
On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to
558
+
[enable the feature flag](../../administration/feature_flags.md) named `support_group_level_merge_checks_setting`. On GitLab.com, this feature is not
559
+
available.
560
+
561
+
Group owners can set up merge request checks on a top-level group, which apply to all subgroups and projects.
562
+
563
+
If the settings are inherited by a subgroup or project, they cannot be changed in the subgroup or project
564
+
that inherited them.
565
+
566
+
### Require a successful pipeline for merge
567
+
568
+
You can configure all child projects in your group to require a complete and successful pipeline before
569
+
merge.
570
+
571
+
See also [the project-level setting](../project/merge_requests/merge_when_pipeline_succeeds.md#require-a-successful-pipeline-for-merge).
572
+
573
+
Prerequisites:
574
+
575
+
- You must be the owner of the group.
576
+
577
+
To enable this setting:
578
+
579
+
1. On the top bar, select **Main menu > Groups** and find your group.
580
+
1. On the left sidebar, select **Settings > General**.
581
+
1. Expand **Merge requests**.
582
+
1. Under **Merge checks**, select **Pipelines must succeed**.
583
+
This setting also prevents merge requests from being merged if there is no pipeline.
584
+
1. Select **Save changes**.
585
+
586
+
#### Allow merge after skipped pipelines
587
+
588
+
You can configure [skipped pipelines](../../ci/pipelines/index.md#skip-a-pipeline) from preventing merge requests from being merged.
589
+
590
+
See also [the project-level setting](../project/merge_requests/merge_when_pipeline_succeeds.md#allow-merge-after-skipped-pipelines).
591
+
592
+
Prerequisite:
593
+
594
+
- You must be the owner of the group.
595
+
596
+
To change this behavior:
597
+
598
+
1. On the top bar, select **Main menu > Groups** and find your group.
599
+
1. On the left sidebar, select **Settings > General**.
600
+
1. Expand **Merge requests**.
601
+
1. Under **Merge checks**:
602
+
- Select **Pipelines must succeed**.
603
+
- Select **Skipped pipelines are considered successful**.
604
+
1. Select **Save changes**.
605
+
606
+
### Prevent merge unless all threads are resolved
607
+
608
+
You can prevent merge requests from being merged until all threads are resolved. When this setting is enabled, for all child projects in your group, the
609
+
**Unresolved threads** count in a merge request is shown in orange when at least one thread remains unresolved.
610
+
611
+
Prerequisite:
612
+
613
+
- You must be the owner of the group.
614
+
615
+
To enable this setting:
616
+
617
+
1. On the top bar, select **Main menu > Groups** and find your group.
618
+
1. On the left sidebar, select **Settings > General**.
619
+
1. Expand **Merge requests**.
620
+
1. Under **Merge checks**, select **All threads must be resolved**.
621
+
1. Select **Save changes**.
622
+
552
623
## Group merge request approval settings **(PREMIUM)**
553
624
554
625
> -[Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/285458) in GitLab 13.9. [Deployed behind the `group_merge_request_approval_settings_feature_flag` flag](../../administration/feature_flags.md), disabled by default.
0 commit comments