updating a task thru API overwrites it #2407

Closed
opened 2026-03-22 14:06:31 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @NeptunedGmbH on GitHub (Nov 6, 2025).

Description

I want to update a single field in the task, but the update call (from logs: POST /api/v1/tasks/1089) basically overwrites the task and all the attributes I don't explicitly pass are lost. I'd like to just update a single field like progress.

Vikunja Version

v1.0.0-rc2-212-59878741

Browser and version

latest Arc

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @NeptunedGmbH on GitHub (Nov 6, 2025). ### Description I want to update a single field in the task, but the update call (from logs: POST /api/v1/tasks/1089) basically overwrites the task and all the attributes I don't explicitly pass are lost. I'd like to just update a single field like progress. ### Vikunja Version v1.0.0-rc2-212-59878741 ### Browser and version latest Arc ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Nov 7, 2025):

This is intended, please see my comment here: https://github.com/go-vikunja/vikunja/issues/1459#issuecomment-3278944768

@kolaente commented on GitHub (Nov 7, 2025): This is intended, please see my comment here: https://github.com/go-vikunja/vikunja/issues/1459#issuecomment-3278944768
Author
Owner

@NeptunedGmbH commented on GitHub (Nov 11, 2025):

I just realised that this also removes the assignee... I have a way to reassign the user but it results in a notification for every assignment and is really not a good way to manage this. Especially since there are seperate calls for assigning and deassigning users to tasks

@NeptunedGmbH commented on GitHub (Nov 11, 2025): I just realised that this also removes the assignee... I have a way to reassign the user but it results in a notification for every assignment and is really not a good way to manage this. Especially since there are seperate calls for assigning and deassigning users to tasks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2407