Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.7.1
-
Severity 3 - Minor
-
Description
Issue Summary
Existing webhook documentation: https://confluence.atlassian.com/doc/managing-webhooks-1021225606.html
Webhooks are not triggering when expected - it seems that removed and trashed actions are swapped:
page_removed : As per the documentation, “page_removed” event will be triggered when a page is deleted (sent to the trash). Instead we noticed, it is triggered when a page is purged from the trash.
page_trashed : As per the documentation, “page_trashed” event will be triggered when a page is purged from the trash. Instead we noticed, it is triggered when a page is deleted (sent to the trash).
blog_removed : As per the documentation, “blog_removed” event will be triggered when a blog post is deleted (sent to the trash). Instead we noticed, it is triggered when a blog post is purged from the trash.
blog_trashed : As per the documentation, “blog_trashed” event will be triggered when a blog post is purged from the trash. Instead we noticed, it is triggered when a blog post is deleted (sent to the trash).
attachment_removed : As per the documentation, “attachment_removed” event will be triggered when a file is deleted (sent to the trash) from the attachments page. Instead we noticed, it is triggered when a file is purged from the trash.
attachment_trashed : As per the documentation, “attachment_trashed” event will be triggered when a file is purged from the trash. Instead we noticed, it is triggered when a file is deleted (sent to the trash).
space_removed : As per the documentation, “space_removed” event will be triggered when a space is deleted (sent to the trash). But, we noticed that it is not working when a space is deleted.
Steps to Reproduce
- Set up webhooks for these events
Expected Results
For webhooks events to trigger the way they are documented.
Actual Results
removed events are swapped with trashed events - in some situations, trashed events don't exist so we were unable to trigger the webhook.
Workaround
Use the webhooks considering this swap