getTaskComments
Retrieve task comments from Teamwork by task ID, with options to filter, sort, and paginate results for efficient task management.
Instructions
Get comments for a specific task from Teamwork
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commentStatus | No | Filter by comment status | |
orderBy | No | Order by field | |
orderMode | No | Order mode | |
page | No | Page number for pagination | |
pageSize | No | Number of items per page | |
searchTerm | No | Filter by comment content | |
taskId | Yes | The ID of the task to retrieve comments for | |
updatedAfter | No | Filter by updated after date (ISO 8601 format) |
Input Schema (JSON Schema)
{
"properties": {
"commentStatus": {
"description": "Filter by comment status",
"enum": [
"all",
"read",
"unread"
],
"type": "string"
},
"orderBy": {
"description": "Order by field",
"enum": [
"all",
"date",
"project",
"user",
"type"
],
"type": "string"
},
"orderMode": {
"description": "Order mode",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"page": {
"description": "Page number for pagination",
"type": "integer"
},
"pageSize": {
"description": "Number of items per page",
"type": "integer"
},
"searchTerm": {
"description": "Filter by comment content",
"type": "string"
},
"taskId": {
"description": "The ID of the task to retrieve comments for",
"type": "integer"
},
"updatedAfter": {
"description": "Filter by updated after date (ISO 8601 format)",
"type": "string"
}
},
"required": [
"taskId"
],
"type": "object"
}