Preview moving a task to another project
curl --request POST \ --url https://example.com/api/v1/tasks/example/move/preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "fingerprint": "example", "projectId": "example", "targetStatusId": "example" }'Shows what moving the task and its subtasks to another project would do, and writes nothing: how each status maps onto the target workflow, the custom field values the target does not attach (deleted on apply), and what blocks the move. Send targetStatusId to choose the status the task lands in. Responds 404 when the member does not reach the task or the target project. 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).
Request Body
Section titled “Request Body”object
The fingerprint of the preview. Sent to apply, the move is refused when the task or the target changed since the preview.
The project the task moves to.
A status of the target project’s workflow for the task to land in. Without it the status maps automatically: the same status, then the one with the same name, then the nearest category. Subtasks always map automatically.
Example generated
{ "fingerprint": "example", "projectId": "example", "targetStatusId": "example"}Responses
Section titled “Responses”The preview.
object
object
Reasons the move cannot be applied; empty when it can.
object
Custom field values the target project does not attach; applying the move deletes them.
object
object
Statuses of the target workflow, in board order.
object
The task and every subtask that moves with it.
object
Example
{ "data": { "statusMapping": [ { "basis": "same" } ], "targetStatuses": [ { "category": "BACKLOG" } ] }}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" }}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