Email Notifications When Issues Are Opened In GitHub
I am managing a repo and I am the release manager. I wish to receive an email whenever someone has opened an issue ticket in GitHub.
I looked at the webhooks and services. I found the following:
https://help.github.com/articles/receiving-email-notifications-for-pushes-to-a-repository/
I tried the above and found that the email is triggered only when I make any changes/updates to the repository.
But when I open a ticket, it does not trigger any email.
Does anyone have any neat way to trigger email notifications when issues are opened?
Answer
Browse to https://github.com/{{your org/user}}/{{repository}}/settings/hooks/new
and you'll see that you can add a webhook to get notified when an Issue is created.
EDIT: I forgot to mention one very important thing. You need to create a public web application that handles these requests! I.e., you need to add a webhook to this app. The code that handles this request can then do whatever you like, e.g. send an email.
Screenshot from GitHub:
More info here: https://developer.github.com/webhooks/
Related Questions
- → Authenticate with a cookie using laravel 5.1 and jwt
- → Finding a specific GitLab tag from PHP
- → React: How to publish page on server using React-starter-kit
- → babel-loader, webpack, ES2015 modules: "Element type is invalid"
- → Create a function-attribute of a function, which is, in its turn, a method of an object literal
- → Model Validation in laravel 5.1 not working
- → GIT fatal: loose object
- → Laravel validation required rule not working
- → Axios array map callback
- → Where does this `webpack://` come from for `webpack-dev-middleware`?
- → error when trying to modify project in laravel forge
- → GitHub Pages and Jekyll content duplication and SEO issues
- → Use Laravel repositories with Datatables