This guide explains how to get issues from GitHub into the IOTA Experience Team channels.
Every IOTA Experience Team Initiative is assigned a GitHub repository in the iota-community group. It is possible to set up webhooks, to cross-communicate initiatives and events from GitHub to Discord.
In this example we will set up the webhook for the IOTA Streams Experience Team.
Go to the X-Team relative channel in Discord and Edit Channel
Clieck on Webhooks on the left side and then on the Create Webhook button on the right side
Change the name to GitHub, click on the Copy button to copy the webhook link and click on the Save button, to save this settings. (e.g. of this webhook link: https://discordapp.com/api/webhooks/704234568231682099/oo_wo_qWi-FJXSRnedRvZ0yoDuhkn7MjZPQ5njtHcy3SQIWCqrXOmRDhBxjGHrqWBAou)
Now we go to the IOTA Experience Team - IOTA Streams GitHub repository
Here we click on Settings, then Webhooks and finally the Add webhook button
Insert your password to confirm
In the Payload URL field we insert the webhook link we copied from Discord and add /github at the end.
and we change the Content type to application/json.
In the Which events would you like to trigger this webhook section, chose Let me select individual events. Now select the events that will be posted to Discord, adjust accordingly or through experience.
In this example we have: - Issue comments - Issues - Collaborator add, remove, or changed - Milestones - Pushes
Make sure the webhook is active and finally press the Add webhook button.
As you click on the Add webook, the GitHub page will show a notification at the top and a green checkmark to show that the settings are correct.
Now every action selected like
- Issue comments
- Collaborator add, remove, or changed
will trigger and post a message on Discord!