merge_request event field tag name inconsistent with other system hook events
Problem to solve
System hooks document is affected, in particular the merge_request
event.
Further details
All JSON examples on the System hooks page use a field named event_name
to identify which event has taken place.
However, the documentation for the merge_request
event uses object_kind
as a field name.
https://docs.gitlab.com/ee/system_hooks/system_hooks.html#merge-request-events
Proposal
Change the implementation of the generated JSON for merge request events to event_name
to be consistent with the other events (if indeed the generated JSON is object_kind
rather than event_name
).
Who can address the issue
Other links/references
https://docs.gitlab.com/ee/system_hooks/system_hooks.html#merge-request-events
This relates to existing tickets about the documentation for the System hooks page:
This new issue created is extracting an issue from a comment in #217221 (closed) :
I've created two MRs for this page: