Project

General

Profile

Actions

Bug #108

open

task completion time is never updated

Added by Sam Pearson 21 days ago. Updated 20 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/01/2026
Due date:
% Done:

0%

Estimated time:

Description

Sending a post request to update

{
  "completed": true
}

only updates that field

{
  "completed": true,
  "completed_at": null,
  "created_at": "2026-01-01T17:31:38.129044",
  "description": null,
  "id": 40,
  "principles": [],
  "project_id": null,
  "tags": [],
  "title": "Test task",
  "updated_at": "2026-01-01T17:31:38.267634",
  "user_id": 2
}

note the "completed at" field is null.

Instead of sending a post request to update, make a new endpoint, something like tasks/{{id}}/complete so the logic to complete can all go in there. Otherwise we'll have to jam additional "update this field if this" logic into the update endpoint.

Actions

Also available in: Atom PDF