Tasks

Add Project Task Comment

Required scopes: project.task (Read and Write).

post/projects/{projectId}/tasks/{taskId}/comments

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

taskIdinteger required

Task Identifier. Get via List Tasks

Request body

textstring

Text comment

timeSpentinteger

Specifies the time spent on the task in seconds.

Example request

{
  "text": "Work in task",
  "timeSpent": 3600
}

Response

Task comment was successfully created

Example response

{
  "data": {
    "id": 1233,
    "userId": 5,
    "taskId": 203,
    "text": "translate task",
    "timeSpent": 3600,
    "createdAt": "2019-09-23T09:04:29+00:00",
    "updatedAt": "2019-09-23T09:04:29+00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.