A small webhook transformation tool.
Receive webhook pushes from Jira and forward them to Discord Webhooks (with neat embeds)
Example Docker Compose setup:
services:
hooks:
image: <your image name>
container_name: hooks
restart: unless-stopped
environment:
JIRA_TOKEN: "" # URL query field for authenticating the jira post request
JIRA_URL: "" # Discord webhook URL for jira messages
# In order to deliver issue type & project avatars, we have to download and redirect the images using an authorized
JIRA_EMAIL: "" # account email
JIRA_REST_TOKEN: "" # account rest api token
HOST_URL: "" # the base url for the service
LOG_REQUESTS: "true/false" # if you want to save the received requests set it to true
volumes:
- /path/to/images:/app/img
- /path/to/requests:/app/requests
hooks
Copyright (C) 2024 SunStorm
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.