I migrated recently from 0.21.0
to 0.24.2
While trying to work via api, I noticed that the field bucket_id
is always 0:
Reproduce with:
curl -s -q -G "${URL}/projects/${LIST_ID}/tasks" -H "Content-type:application/json" -H "Authorization: Bearer ${TOKEN}" --data-urlencode "sort_by=created" --data-urlencode "order_by=desc" | jq -r ".[]"
Answer:
{
"id": 2476,
"title": "title",
"description": "desc",
"done": true,
"done_at": "2024-02-20T12:07:56+01:00",
"due_date": "0001-01-01T00:00:00Z",
"reminders": null,
"project_id": 3,
"repeat_after": 0,
"repeat_mode": 0,
"priority": 0,
"start_date": "2024-02-07T11:10:52+01:00",
"end_date": "2024-02-20T12:07:56+01:00",
"assignees": [
{
"id": 2,
"name": "",
"username": "my_user",
"created": "2022-09-20T09:22:30+02:00",
"updated": "2022-09-20T09:23:26+02:00"
}
],
"labels": null,
"hex_color": "e0fff7",
"percent_done": 0,
"identifier": "#533",
"index": 533,
"related_tasks": {},
"attachments": null,
"cover_image_attachment_id": 0,
"is_favorite": false,
"created": "2024-02-07T11:10:52+01:00",
"updated": "2024-08-27T15:51:45+02:00",
"bucket_id": 0,
"position": 0,
"reactions": null,
"created_by": {
"id": 6,
"name": "",
"username": "my_user",
"created": "2022-09-23T10:10:42+02:00",
"updated": "2022-10-06T09:48:05+02:00"
}
}
As a side note, position
is also always 0, but I do not rely on that value.