Not getting parentItemId and parentItemBoardId info in Activity Log API response for subitems :
query {
boards (ids: 123456789) {
activity_logs (from: "2022-07-05T06:05:00Z", to: "2022-07-06T00:00:00Z") {
id
event
data
}
}
}
In the API doc where sample response example is given for Webhook - https://api.developer.monday.com/docs/webhooks-1#sample-payload-for-webhook-events check sample response for create_subitem, there it’s mentioned that only difference between response for subitems is we get two additional fields/info mentioned below compared to activity logs response for items
As far as I know changes to subitems are not available in the activity log. Probably because the technical implementation for subitems is that they live on another board. Have you tried to query the subitems board activity log?
Hi @basdebruin - Actually I could see we get event for subitems as well e.g as below when I added one more subitem I get below event in activity log resonse:
The event output you are showing is from a “update_column_value” webhook and those event do not hold those values (they are only acting on changes in items, not in subitems). You want to change (or add another) the webhook type to “change_subitem_column_value” to get the event holding these values that are specific to subitems.
If you want to see the activity_log from your subitems, just query as any other query for the activity_log, only change the boardId to the boardId where the subitems live.
If I read your event response correctly that would be: 2895395961. Be aware that this activity_log ONLY shows the subitems activity, not the items. If you want to have a full activity of your board you should combine the two activity logs.