Skip to content

Webhook not activated when setting a label on an issue #9403

@x-beaudet

Description

@x-beaudet
  • Gitea version (or commit ref): 1.10.1
  • Git version: 2.20.1
  • Operating system: Raspbian GNU/Linux 10 (buster)
  • Database (use [x]):
    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [x ] Not relevant
  • Log gist:

Description

When setting a label with a 3d party app (gitnex in my case) the corresponding event is not fired and the hook doesn't activate itself.

Step to reproduce :

  • create a web hook reacting to issues events, and listen to it someway,
  • create issue (API or web ui is ok : creating the ticket emits the event),
  • use the API to set a label to the issue : the label is correctly set in gitea, but the webhook is not activated
    ...

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions