diff options
| author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-09-24 00:27:08 +0200 |
|---|---|---|
| committer | John Villalovos <john@sodarock.com> | 2022-09-23 15:43:12 -0700 |
| commit | 1714d0a980afdb648d203751dedf95ee95ac326e (patch) | |
| tree | 904623c513726b2c00e6252734a6eda2996c1031 /gitlab | |
| parent | 20c46a0572d962f405041983e38274aeb79a12e4 (diff) | |
| download | gitlab-1714d0a980afdb648d203751dedf95ee95ac326e.tar.gz | |
fix(cli): add missing attributes for creating MRs
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/v4/objects/merge_requests.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gitlab/v4/objects/merge_requests.py b/gitlab/v4/objects/merge_requests.py index 8a6fcfa..6a47b7b 100644 --- a/gitlab/v4/objects/merge_requests.py +++ b/gitlab/v4/objects/merge_requests.py @@ -401,15 +401,18 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager): _create_attrs = RequiredOptional( required=("source_branch", "target_branch", "title"), optional=( + "allow_collaboration", + "allow_maintainer_to_push", + "approvals_before_merge", "assignee_id", + "assignee_ids", "description", - "target_project_id", "labels", "milestone_id", "remove_source_branch", - "allow_maintainer_to_push", - "squash", "reviewer_ids", + "squash", + "target_project_id", ), ) _update_attrs = RequiredOptional( |
