[go: up one dir, main page]

Skip to content

Group-level Merge Request settings are missing from api

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

There are some merge request settings which can be set on Groups, and are enforced for every project in the group. They look like this in the UI:

image

I want to set these from the api. Specifically I'm using the python-gitlab package. These settings do not seem to be exposed in the api anywhere, or in the python-gitlab package.

On the project-level, the python-gitlab package exposes the attribute only_allow_merge_if_all_discussions_are_resolved , see https://python-gitlab.readthedocs.io/en/stable/api/gitlab.v4.html#gitlab.v4.objects.ProjectManager, but I'm not finding anything similar for the group-level.

Edited by 🤖 GitLab Bot 🤖