hi @Yash
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:
{
"id": "547655cf-08a7-42c9-a91a-d1b82e4bce8a",
"event": "update_column_value",
"data": "{\\"board_id\\":1234567890,\\"group_id\\":\\"new_group\\",\\"is_top_group\\":false,\\"pulse_id\\":2895453702,\\"pulse_name\\":\\"item1\\",\\"column_id\\":\\"subitems\\",\\"column_type\\":\\"subtasks\\",\\"column_title\\":\\"Subitems\\",\\"value\\":{\\"linkedPulseIds\\":[{\\"linkedPulseId\\":2896829705},{\\"linkedPulseId\\":2896837624}],\\"column_settings\\":{\\"displayType\\":\\"BOARD_INLINE\\",\\"itemTypeName\\":\\"column.subtasks.title\\",\\"allowMultipleItems\\":true,\\"boardIds\\":[2895395961]}},\\"previous_value\\":{\\"linkedPulseIds\\":[{\\"linkedPulseId\\":2896829705}],\\"column_settings\\":{\\"displayType\\":\\"BOARD_INLINE\\",\\"itemTypeName\\":\\"column.subtasks.title\\",\\"allowMultipleItems\\":true,\\"boardIds\\":[2895395961]}},\\"is_column_with_hide_permissions\\":false,\\"textual_value\\":\\"subitem1, subitem2\\",\\"previous_textual_value\\":\\"subitem1\\"}"
}
Only issue with above response is we are not getting parentItemId and parentItemBoardId info.
Also, when you say Have you tried to query the subitems board activity log?
Could you please share sample query?
TIA !!
hi @Yash
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.
{
boards(ids: THE_BOARDID_OF_YOUR_SUBITEMS_BOARD) {
activity_logs {
event
data
}
}
}
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.