How do I get attachment that is posted in a comment of task?
Hi all,
The Webhook payload doesn't provide an attachment ID when a comment contains an attachment (the attachment is attached to the comment rather than the task).
this is my payload for example:
[
{
commentId: 'IEAGKPF2IMCZI6NF',
comment: {
text: 'sfdgsdfg sg gfssgf sfg sdf g sfgd',
html: 'sfdgsdfg sg gfssgf sfg sdf g sfgd'
},
taskId: 'IEAGKPF2KRNSD2IK',
webhookId: 'IEAGKPF2JAABZIGA',
eventAuthorId: 'KUATU2TL',
eventType: 'CommentAdded',
lastUpdatedDate: '2024-11-14T12:06:38Z'
}
]
Moreover, when the attachment is posted to the comment in Wrike like this:
It doesn't fire webhook event (probably because it doesn't exist).
Also, the attachment cannot be posted via API to be related to the comment. (This is the problem in the other direction, from the external app to Wrike).
Am I missing something here or is this just what it is?
Hi Ilija sasic 👋 Let me raise a support ticket for you. One of our experts will be in touch with you shortly.
Rohan V Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Rohan V Wrike Team member Become a Wrike expert with Wrike Discover