Actions
Defect #43889
closedWebhook is not triggered when attachment is deleted via AJAX UI
Resolution:
Fixed
Affected version:
Description
Webhook functionality was introduced in #29664. However, when an attachment is deleted via the AJAX-based UI (trash icon), a journal entry is created with attachment removal details, but no webhook event is triggered.
In contrast, deleting an attachment via issue edit and submit creates a similar journal entry and correctly triggers a webhook.
This results in inconsistent webhook behavior depending on how the attachment is removed, even though both actions produce equivalent journal entries.
Expected behavior¶
A webhook event should be triggered whenever a journal entry is created for attachment deletion, regardless of whether it is performed via AJAX or issue update.
Files
Related issues
Actions