PlanewardPlaneward Docs
PlanewardPlaneward Docs
Welcome

Developers

REST APIAuthenticationWebhooksMCPMCP journeyTask description contentDeveloper hub

API

List labels in a project GETList roles that can be assigned in a project GETList tasks in a project GETCreate a task POSTGet a task GETUpdate a task PATCHDelete a task DELETEMove a task to another project POST
Tasks

Move a task to another project

Moves the task to another project in the same workspace. Its subtasks move with it; a subtask moved on its own leaves its parent. Each task goes to `statusId` (task only) or the target status with the same name, else the first of the same type, else the first status, at the end of the column. Milestone and cycle are cleared. The label is kept when the target project has a label with the same name, otherwise removed. Comments, checklist, attachments and assignees move with the task. Answers 400 when an assigned person or role can't be assigned in the target project, for support tasks, archived tasks, archived projects and the task's own project; 409 when the target status is at its blocking WIP limit or `expectedVersion` is stale. Emits `task.moved` for each moved task.

POST
/tasks/{taskId}/move

Moves the task to another project in the same workspace. Its subtasks move with it; a subtask moved on its own leaves its parent. Each task goes to statusId (task only) or the target status with the same name, else the first of the same type, else the first status, at the end of the column. Milestone and cycle are cleared. The label is kept when the target project has a label with the same name, otherwise removed. Comments, checklist, attachments and assignees move with the task. Answers 400 when an assigned person or role can't be assigned in the target project, for support tasks, archived tasks, archived projects and the task's own project; 409 when the target status is at its blocking WIP limit or expectedVersion is stale. Emits task.moved for each moved task.

Authorization

x-api-key<token>

In: header

Path Parameters

taskId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/tasks/string/move" \  -H "Content-Type: application/json" \  -d '{    "projectId": "string"  }'
{  "data": {    "id": "string",    "workspaceId": "string",    "projectId": "string",    "title": "string",    "description": "string",    "descriptionContent": [      {}    ],    "statusId": "string",    "parentId": "string",    "priority": "NO_PRIORITY",    "startDate": "2019-08-24T14:15:22Z",    "dueDate": "2019-08-24T14:15:22Z",    "completedAt": "2019-08-24T14:15:22Z",    "version": 0,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "assignees": [      {        "membershipId": "string",        "displayName": "string",        "image": "string"      }    ],    "assigneeRoles": [      {        "roleId": "string",        "name": "string"      }    ],    "label": {      "id": "string",      "name": "string",      "color": "string",      "icon": "string",      "description": "string"    }  }}

Delete a task DELETE

Previous Page

List customers GET

Next Page

projectId*string

The project to move the task to, in the same workspace.

statusId?string

A status in the target project. Omit it to map the current status (same name, else same type, else the first status).

expectedVersion?integer

The task version you last read. When the task has changed since, the move is rejected with 409.

Range1 <= value