Hello,
I wanted to report an issue regarding the integration of the Asana WebHook Comment Added Event. It appears that the event payload is not updating with the latest Comment GID. Even when receiving new comments through the Comment Added Event, the Comment GID within the event remains stuck at the GID of the first comment. Consequently, this causes repeated comments to appear in my synchronization service.
e.g.
- register webhook:
POST ASANA API /webhooks
{
“resource”: “XXX”,
“target”: “webhookURL”,
“filters”: [
{
“action”: “added”,
“resource_type”: “task”,
“resource_subtype”: “default_task”
},
{
“action”: “changed”,
“resource_type”: “task”,
“resource_subtype”: “default_task”
},
{
“action”: “removed”,
“resource_type”: “task”,
“resource_subtype”: “default_task”
},
{
“action”: “deleted”,
“resource_type”: “task”,
“resource_subtype”: “default_task”
},
{
“action”: “undeleted”,
“resource_type”: “task”,
“resource_subtype”: “default_task”
},
{
“action”: “added”,
“resource_type”: “story”,
“resource_subtype”: “comment_added”
}
]
} - added new stroy(commnet) to task
- receive event on my webhook server:
{“events”:[{“user”:{“gid”:“user”,“resource_type”:“user”},“created_at”:“2024-01-05T06:39:57.384Z”,“action”:“added”,“parent”:{“gid”:“task”,“resource_type”:“task”,“resource_subtype”:“default_task”},“resource”:{“gid”:“123”,“resource_type”:“story”,“resource_subtype”:“comment_added”}}]} - added another new stroy(commnet) to task
- receive event on my webhook server:
{“events”:[{“user”:{“gid”:“user”,“resource_type”:“user”},“created_at”:“2024-01-05T06:39:57.384Z”,“action”:“added”,“parent”:{“gid”:“task”,“resource_type”:“task”,“resource_subtype”:“default_task”},“resource”:{“gid”:“123”,“resource_type”:“story”,“resource_subtype”:“comment_added”}}]}
still get story ID 123 in event…
I would greatly appreciate it if you could investigate this issue and provide a solution or workaround. Please let me know if any further information is required from my end to assist with the troubleshooting process.
Thank you for your attention to this matter.