8000 Is any example of creating new Project level Approval Rule? · Issue #1260 · python-gitlab/python-gitlab · GitHub
[go: up one dir, main page]

Skip to content
Is any example of creating new Project level Approval Rule? #1260
Open
@bekraupov

Description

@bekraupov

Description of the problem, including code/CLI snippet

test_project = gitlab.getProject(65047)
new_ap = test_project.approvalrules.create({"name":"test"})

Expected Behavior

need list of parameters I can pass to it including:

  • branch spec
  • user list

Actual Behavior

Unable to figure how pass it

Specifications

  • python-gitlab version: latest
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): Enterprise one, 3.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    EEIssues related to the enterprise version of GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0