Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is any example of creating new Project level Approval Rule? #1260

Open
Labels
EEIssues related to the enterprise version of GitLabstale
@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 GitLabstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp