YouTrack currently has no decent way of sending webhook notifications to Discord as of right now, so this project solves just that.
- Go to https://YOUR_YOUTRACK_INSTALLATION_DOMAIN/admin/hub/users
- Click on "Manage custom attributes".
- Click on "New attribute" and create a new text attribute with name: Discord ID
- Go to https://YOUR_YOUTRACK_INSTALLATION_DOMAIN/admin/hub/users
- Edit all users to add their "Discord Id". Example: @433666xxxx100864
- Create a new workflow on YouTrack, name it something like
discord-webhook
or whatever. - In the YouTrack workflow scripting area that you're taken to, press the + button on your workflow and add a custom module for each JavaScript file in this project.
- Paste and save the contents of each JavaScript file from this project into the custom modules.
- Change the config files according to your needs.
- Test if the integration works by creating a new issue on YouTrack.
- Stage changes
- Assignee changes
- Comment creations
- Issue creations
- Watchers of an issue can be notified about events in their own channel