v2

latestOpenAPI 3.0.12026-07-31690160432.4 KB
Project Tasks

Create a project task

Create a new project task

post/v1/spaces/{spaceId}/projects/{projectId}/tasks

Path parameters

spaceIdinteger required

ID of the space

projectIdinteger required

ID of the project

Headers

X-Org-Idinteger required

Organization ID

Request body

taskTitlestring

Title of the task. Must be between 3 and 500 characters.

descriptionstring

Description of the task. Optional.

ownersinteger[]

List of owner IDs assigned to the task. Optional.

startDatestring date-time

Start date of the task. Optional.

dueDatestring date-time

Due date of the task. Optional.

noOfDaysinteger

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

completioninteger

Completion percentage of the task. Must be between 0 and 100. Optional.

statusstring

Status of the task. Optional.

prioritystring

Priority of the task. Optional.

tagsstring[]

List of tags associated with the task. Optional.

Example request

{
  "taskTitle": "Implement login functionality",
  "description": "This task involves implementing the login functionality for the application.",
  "owners": [
    1,
    2,
    3
  ],
  "startDate": "2023-10-01T00:00:00Z",
  "dueDate": "2023-10-15T00:00:00Z",
  "noOfDays": 5,
  "completion": 75,
  "status": "In Progress",
  "priority": "High",
  "tags": [
    "backend",
    "urgent"
  ]
}

Response

Project task created successfully