python-api-client icon indicating copy to clipboard operation
python-api-client copied to clipboard

unable to set date_due or other date on update_task

Open PMJarosch opened this issue 3 years ago • 1 comments

When I try to update a due date via the update_task it failes every time. When I try to change the Color everything works.

example: kb.update_task(id=task_id,date_due="2021-01-26T00:00:00")

Kanboard Version is latest release

I'm using Debian Buster with Python 3.7

PMJarosch avatar Mar 05 '21 15:03 PMJarosch

Is this still relevant?

By the way, with kanboard/python-api-client, I had more luck using the kanboard.Client.execute() method directly like I describe in another issue:

By the way, I actually use the API like this:

kc = kanboard.Client(...)
kc.execute(
    method='createTask',
    project_id=1,
    title="hello",
    description="world",
)

and learn method names and arguments from the API documentation, eg. this page for createTask: https://docs.kanboard.org/v1/api/task_procedures/#createtask

I can't confirm right now if update_task is affected by either of these methods.

AloisMahdal avatar Apr 05 '24 10:04 AloisMahdal