API again, createTask vs updateTask

Hi all, I am trying to trigger automatic POSTs from my local application to Kanboard as soon as certain dates are entered, e.g. a delivery date entered will shift the Kanboard task to the respective project column.

Now, the createTask API procedure in fact allows me to define a column_id, but updateTask does not, according to documentation.

Am I overlooking anything?

Where in the php could I add this feature?

You can’t move a task using the updateTask procedure. For moving tasks you need the moveTaskPosition procedure (see Task API Procedures — Kanboard documentation).

Sending an JSON like this successfully moves a task. Just make sure you have the IDs of all needed values beforehand (project, task, column, swimlane):

{
    "jsonrpc": "2.0",
    "method": "moveTaskPosition",
    "id": 117211800,
    "params": {
        "project_id": 4,
        "task_id": 12,
        "column_id": 15,
        "position": 1,
        "swimlane_id": 4
    }
}

bingo, that’s perfect!!! thx, jo