Skip to content

Card steps and cards: partial updates - #431

Merged
jeremy merged 1 commit into
masterfrom
card-partial-updates
Aug 4, 2026
Merged

Card steps and cards: partial updates#431
jeremy merged 1 commit into
masterfrom
card-partial-updates

Conversation

@jeremy

@jeremy jeremy commented Aug 4, 2026

Copy link
Copy Markdown
Member

Updating a card table step or card is becoming a true partial update on the JSON API: parameters you omit are left unchanged, instead of being cleared.

Steps (PUT /card_tables/steps/{id}.json): previously this update replaced the whole step — any of title, due_on, or assignee_ids you omitted was cleared, and title was required. Now each of them may be omitted independently and keeps its current value.

Cards (PUT /card_tables/cards/{id}.json): previously omitting due_on cleared the card's due date even when you only meant to change something else. Now an omitted due_on is left unchanged, matching the other parameters.

To clear a value, send it explicitly:

To… Send
leave a value unchanged omit the parameter
clear the due date "due_on": null
remove all assignees "assignee_ids": []

Creating a step is unchanged: title is still required.

These docs describe the new behavior and will merge when it reaches production.

Synced from bc3 doc/api/ by script/api/sync_to_bc3_api — not a hand-edit.

Updating a step or a card no longer clears the parameters you omit.
An omitted parameter is left unchanged; send "due_on": null to clear
the due date and "assignee_ids": [] to remove all assignees. A step's
title is now optional on update.
Copilot AI balanced review requested due to automatic review settings August 4, 2026 05:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jeremy
jeremy merged commit a8b8b81 into master Aug 4, 2026
1 check failed
@jeremy
jeremy deleted the card-partial-updates branch August 4, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants