MergeRequestApprovalRules
Retrieve MergeRequestApprovalRules data from GitLab. Note: GitLab automatically creates an any_approver rule on each new merge request. To insert a named rule without conflict, set RuleType to regular.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Rule ID | |
| Name | String | False |
Rule name | |
| RuleType | String | False |
Rule type (regular or any_approver). Set to regular when an any_approver rule already exists on the merge request. | |
| ReportType | String | True |
Report type | |
| ApprovalsRequired | Integer | False |
Required approvals | |
| ContainsHiddenGroups | Boolean | True |
Whether contains hidden groups | |
| IsOverridden | Boolean | True |
Whether rule is overridden | |
| EligibleApprovers | String | True |
Eligible approvers array | |
| SourceRule | String | True |
Source rule object | |
| Users | String | True |
Users array | |
| Groups | String | True |
Groups array | |
| ProjectId | String | False |
Project ID or URL-encoded path | |
| MergeRequestIid | Integer | False |
Merge request internal ID |