Discord webhook uses wrong urls on issue updates #2226

Closed
opened 2025-11-02 04:28:22 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @radonthetyrant on GitHub (Aug 21, 2018).

  • Gitea version (or commit ref): 1.5.0 (try.gitea.io is on 05dcfcf)
  • Git version: 2.7.4
  • Operating system: Ubuntu 16.04.5 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When a discord webhook is setup with the setting "All events" and an issue is created/edited/closed, the link that gets sent to the discord channel points to a json api url, instead of the actual issue url.

Screenshots

image

image

image

image

image

Originally created by @radonthetyrant on GitHub (Aug 21, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.5.0 (try.gitea.io is on 05dcfcf) - Git version: 2.7.4 - Operating system: Ubuntu 16.04.5 LTS - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description When a discord webhook is setup with the setting "All events" and an issue is created/edited/closed, the link that gets sent to the discord channel points to a json api url, instead of the actual issue url. ## Screenshots ![image](https://user-images.githubusercontent.com/4189978/44415332-7acd5f80-a570-11e8-8510-c45ba11d7252.png) ![image](https://user-images.githubusercontent.com/4189978/44415358-8882e500-a570-11e8-842d-df07e5f7eb5b.png) ![image](https://user-images.githubusercontent.com/4189978/44415377-93d61080-a570-11e8-88c6-fd54806fc29b.png) ![image](https://user-images.githubusercontent.com/4189978/44415391-9cc6e200-a570-11e8-9a9a-12eb1895f050.png) ![image](https://user-images.githubusercontent.com/4189978/44415455-c08a2800-a570-11e8-8de4-d4207955b953.png)
GiteaMirror added the issue/duplicate label 2025-11-02 04:28:22 -06:00
Author
Owner

@adelowo commented on GitHub (Aug 21, 2018):

Duplicate of #4656

@adelowo commented on GitHub (Aug 21, 2018): Duplicate of #4656
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2226