kanboard / python-api-client

Python API Client for Kanboard
https://pypi.org/project/kanboard
MIT License
81 stars 26 forks source link

unable to set date_due or other date on update_task #22

Open PMJarosch opened 3 years ago

PMJarosch commented 3 years ago

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

AloisMahdal commented 7 months ago

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.