b24_scrum_task_move
Move a task card to another column on a Bitrix24 Scrum sprint board. Removes the card's placement and re-adds it to the target stage, since standard update calls don't actually shift the card.
Instructions
Move a task to a column on a Scrum sprint board.
Bitrix has no single "move" call, and the obvious candidates each fail in a way that looks like success — all of the following was established by watching a real board, not by reading API responses:
tasks.api.scrum.kanban.addTaskonly places a card that is not currently on the board. For a card already sitting in a column it returnstrueand does nothing at all — no field change, no history entry, no movement.tasks.task.updatewithSTAGE_IDdoes change the field and does write a history entry that everyone can see, but the card does not move. That is the worst outcome: colleagues see "stage changed" in the log while the board still shows the old column.task.stages.movetaskanswersfalse— it governs the plain group kanban, not sprint boards.
What works is taking the card off the board and putting it back in the
target column: kanban.deleteTask then kanban.addTask. This tool does
that, in that order.
deleteTask does not delete the task and does not produce a second
card. It removes only the column placement; the task, its sprint membership
and everything on it survive, so addTask puts the same card back.
Measured before and after a move: identical id, GUID, creation date, story
points, checklist, logged time and tags — the only difference was one added
history row. Moving the same card repeatedly is safe.
Do not verify the result with b24_task_get: STAGE_ID is unreliable
for sprint boards — it read 0 while the card was visibly sitting in the
target column. The board is the source of truth; the pull channel's
tasks / task_update event carries AFTER.STAGE_INFO and is the only
reliable read.
Returns: JSON: {"moved": true, "task_id", "sprint_id", "stage_id", "steps": {"removed_from_board": ..., "added_to_stage": ...}, "note": "..."}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>",
"sprint_id": "<sprint_id>",
"stage_id": "<stage_id>"
},
"name": "b24_scrum_task_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id to move. | |
| stage_id | Yes | Target kanban column id (from b24_scrum_kanban_stages or b24_scrum_board). | |
| sprint_id | Yes | Sprint id the task belongs to (from b24_scrum_sprint_list or b24_scrum_board). | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |