Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.17 KB

File metadata and controls

25 lines (21 loc) · 1.17 KB

YouTrack notifications on Discord

YouTrack currently has no decent way of sending webhook notifications to Discord as of right now, so this project solves just that.

First steps

  1. Go to https://YOUR_YOUTRACK_INSTALLATION_DOMAIN/admin/hub/users
  2. Click on "Manage custom attributes".
  3. Click on "New attribute" and create a new text attribute with name: Discord ID
  4. Go to https://YOUR_YOUTRACK_INSTALLATION_DOMAIN/admin/hub/users
  5. Edit all users to add their "Discord Id". Example: @433666xxxx100864

Installation

  1. Create a new workflow on YouTrack, name it something like discord-webhook or whatever.
  2. 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.
  3. Paste and save the contents of each JavaScript file from this project into the custom modules.
  4. Change the config files according to your needs.
  5. Test if the integration works by creating a new issue on YouTrack.

Currently, can react to

  • Stage changes
  • Assignee changes
  • Comment creations
  • Issue creations

Extra features

  • Watchers of an issue can be notified about events in their own channel