[go: up one dir, main page]

Skip to content

Cannot subscribe to "New project" event

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

Description

When a new project is created in a group (or on the system), there is no way to know that this event happened to be able to react to it by receiving a webhook.

Proposal

Add a new event type in the list of webhooks event on a group page that would send Project events for the following cases:

  • Project created
  • Project deleted
  • Project renamed
  • Project transferred

Screen_Shot_2017-07-24_at_13.45.42

Links / references

I'm not sure what the code at the following line does but it would probably be the good place to send the event if this is not what is already being done: https://gitlab.com/gitlab-org/gitlab-ce/blob/810866ecb6c7be4fdac88dc3b2a6cd9ad49ac7bf/app/services/projects/create_service.rb#L96

Documentation blurb

Overview

Automate configurations and tasks based on the projects events listed above.

Use cases

The reason behind it is to be able to setup the repository with some file and automatically create a Jenkins job to build this repository.

Templates mitigate this issue for project using Gitlab CI, but even then, it's not an automated process that could setup other files than the .gitlab-ci.yml.

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.

Edited by 🤖 GitLab Bot 🤖