Skip to content

Add support for testing/triggering Project and Group hooks #2924

Closed
@JohnVillalovos

Description

@JohnVillalovos

At the moment there is no support for https://docs.gitlab.com/ee/api/projects.html#trigger-a-test-project-hook

So support would need to be added to gitlab/v4/objects/hooks.py

Probably need to add a method test() to ProjectHookManager ProjectHook and GroupHookManager GroupHook

PRs are welcome.

Discussed in #2923

Originally posted by vasokot July 11, 2024

Description of the problem, including code/CLI snippet

Need to trigget test of project hook https://docs.gitlab.com/ee/api/projects.html#trigger-a-test-project-hook

How I can do it with python-gitlab?

Specifications

  • python-gitlab version: 4.7
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 16.11.6-ee

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions