webhooks icon indicating copy to clipboard operation
webhooks copied to clipboard

Gitlab Merge Request Assignees

Open lsascha opened this issue 5 years ago • 1 comments

It seems that gitlab changed the place of asignees in the payload. At least in my tests they are not in the ObjectAttributes.Assignee I had to add an array of Assignee to the MergeRequestEventPayload to get them.

see my diff https://github.com/lsascha/webhooks/commit/122aaa16423b41a7cbc31f3d69c8a55f93ef0b2a.diff

lsascha avatar Feb 22 '20 16:02 lsascha

Also i noticed that the Assignees also contain an email field.

So maybe also add

Email string `json:"email"`

to the Assignee struct if we are at it?

lsascha avatar Feb 22 '20 16:02 lsascha