v2

latestOpenAPI 3.0.12026-07-31690160432.4 KB
Project Tasks

Update a project task

Update a project task by its ID

put/v1/spaces/{spaceId}/projects/{projectId}/tasks/{taskId}

Path parameters

spaceIdinteger required

ID of the space

projectIdinteger required

ID of the project

taskIdinteger required

ID of the task to be updated

Headers

X-Org-Idinteger required

Organization ID

Request body

taskTitlestring

Title of the task

descriptionstring

Detailed description of the task

ownersinteger[]

List of owner IDs assigned to the task

startDatestring date-time

Start date of the task

dueDatestring date-time

Due date of the task

noOfDaysinteger

Duration in working days. When sent together with startDate or dueDate, the missing date is recomputed honouring the organisation's operational hours.

completioninteger

Completion percentage of the task

statusstring

Current status of the task

prioritystring

Priority level of the task

tagsstring[]

Tags associated with the task

Example request

{
  "taskTitle": "Implement API endpoint",
  "description": "Create a REST API endpoint for user authentication",
  "owners": [
    1,
    2,
    3
  ],
  "startDate": "2023-10-01T00:00:00Z",
  "dueDate": "2023-10-15T00:00:00Z",
  "noOfDays": 5,
  "completion": 50,
  "status": "In Progress",
  "priority": "High",
  "tags": [
    "backend",
    "api"
  ]
}

Response

Project task updated successfully