Bucket_id is 0 in webhook payload after moving task between columns

I’ve got a webhook set to send a request to my server on task update. If I switch a task between columns, the webhook fires, but the payload always has 0 for bucket_id. I saved the output of the webhook when I first started playing with them in January, and it has a legitimate bucket_id.

I looked at Bucket_id is always 0 - #2 by kolaente, but it seemed like the issue there is that the user wasn’t making the changes in kanban view.

I’m running v0.24.1-22-bf1c8c6119.

Any insight would be much appreciated!

This is somewhat a bug, since we changed how the views work, the bucket id field on the task isn’t really used. That’s why it is always 0. I’m unsure why exactly it is still there tbh.

I think the solution here would be to include all bucket ids where the task is currently part of.

Got it. From the API, is there a way to deduce them name of the bucket(s) a task is in?

Thank you!

Not directly. You’d need to fetch the tasks in the view and then filter by the task id. That should return all buckets, but only one with the task in it.