gitlab4j-api
gitlab4j-api copied to clipboard
Support for Confidential Note Webhook
trafficstars
The webhook listener don't support Confidential Note:
org.gitlab4j.api.GitLabApiException: Unsupported X-Gitlab-Event, event Name=Confidential Note Hook
The confidential note hook is barely documented on: https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#comment-events
It seems that this would be an event similar to NoteEvent with a different X_GITLAB_EVENT value.
Maybe instead of duplicating NoteEvent as ConfidentialNoteEvent a common class between those two can be created. --> AbstractNoteEvent
You can open a PR with those changes.