Add assignee email to webhook data
Description
Currently assignee data in webhooks consists of name
, username
and avatar_url
. I suggest for email
to get added.
Proposal
Currently Issue Hook
and Merge Request Hook
contain assignee data which is used to identify the assigned user:
...
"assignee": {
"name": "User1",
"username": "user1",
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
}
Source: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html
I would like to add the email to the assignee.
Links / references
#2475 (closed) Added assignee data to issuables
.
!13176 (closed) Is proposed to add extra data to hooks related to project creation.
Documentation blurb
Use cases
- External services are often able to identify users uniquely via email, this allows Gitlab to get further integrated with heterogeneous systems.
- A very simple webhook consumer become able to send emails to the assignee without further integration of user ids.
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml