Move a task within a project
curl --request PATCH \ --url https://example.com/api/v1/projects/example/tasks/example/position \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "position": "example", "status": "example" }'Moves a task on its project’s board. status (a status of the project’s workflow, by name or id) changes the task’s one status through the same path as PATCH /tasks/{id}: entering a completed status completes the task (422 DEPENDENCY_BLOCKED when an unfinished blocking dependency refuses it), leaving it reopens the task, and a status that names a role hands the task to it. position reorders the card in its column (invalid keys return 400). Any other body key returns 400. Responds 404 when the task is not this project’s. Requires the tasks.manage permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Task identifier.
Task identifier.
Request Body
Section titled “Request Body”object
Canonical LexoRank position, such as 0|hzzzzz:.
Target status of the project’s workflow, by name (matched without case) or id. Omitted, the task keeps its status.
Example generated
{ "position": "example", "status": "example"}Responses
Section titled “Responses”The task’s status and position after the move, and what the status change did.
object
object
Example generated
{ "data": { "position": "example", "projectId": "example", "status": { "id": "example", "name": "example" }, "statusChange": { "cascadedSubtaskIds": [ "example" ], "changed": true, "fromStatus": { "id": "example", "name": "example" }, "role": { "kind": "example" }, "toStatus": { "id": "example", "name": "example" } }, "taskId": "example" }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Blocked by an unfinished dependency.
Completion refused by an unfinished blocking dependency.
object
object
Unfinished tasks this task is waiting on.
object
Example
{ "error": { "code": "DEPENDENCY_BLOCKED", "status": 422 }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC