Returns the task with the specified id in the specified task list.
To get a project task from the project task list, the user needs read permissions on the project-planning-data feature or the current user must be assigned to the task with the specified id. For a private task list no permissions are required.
Path parameters
projectId
The id of the project.
taskListId
The id of the task list.
taskId
The id of the task.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
OK
name
The name of the task. Max allowed length: 1000 characters.
description
The description of the task. Max allowed length: 25000 characters.
isPrio
Whether this task is marked as priority.
startOn
The expected start date and time of the task.
dueOn
The expected due date and time of the task.
laneOrder
The lane order defines the vertical position in the task board.
plannedDuration
The expected planned workload of the task, in seconds.
id
The Id of the task.
isExternal
True if the model is coming from an external workspace (awork Connect). False otherwise.
isHiddenForConnectUsers
True if the task is hidden for external workspace users.
False otherwise.
baseType
The base type of the task.
Can be 'private' for a private task or
'projecttask' for a project task.
Allowed values:
taskStatusId
The id of the status for this task.
taskStatus
typeOfWorkId
The id of the type of work of this task.
typeOfWork
assignees
The list assigned users of this task, or empty if not user was assigned.
projectId
The id of the project this task is assigned to.
Only set if this is a project task.
In this case, it is equal to the EntityId.
project
correlationId
The correlation id between parent and subtasks, meaning it's either the ParentId or its own Id.
parentId
The id of the parent task this of this subtask.
Only set if this is a subtask.
parentTask
isSubtask
True if the task is a subtask.
numberOfSubtasks
The number of subtasks of this task.
Null if it's not a parent task.
hasAttachment
Whether this task has an attachment.
lists
The lists to which the task is assigned to.
userId
The id of the user of the private task.
createdOn
The date this task was created.
createdBy
The id of the user who created this task.
updatedOn
The date this task was last modified.
updatedBy
The id of the user who last modified this task.
closedOn
The date the task was set to closed.
closedBy
The user who closed the task.
order
The order of the task in a task status column.
subtaskOrder
The order of the subtask relative to its parent task.
createdFromTaskId
When the task was created by a recurrency rule, the id is the link to the template of which the task was created.
isRecurring
If the task is a recurrency template (used to create new tasks by a recurrency rule), the flag is true.
customFields
Custom fields of the task.
trackedDuration
The summed up duration of all time trackings for this task.
totalTrackedDuration
The summed up duration of all time trackings for this task, including subtasks.
totalPlannedDuration
The total planned workload of the task, in seconds, including subtasks.
remainingDuration
The expected remaining duration from the original planned effort of the task, in seconds.
Null if the user has no permissions to see time tracking information.
totalRemainingDuration
The total remaining duration from the original planned effort of the task, in seconds, including subtasks.
resourceVersion
The version of the entity, updated on every modification, to the ticks in UTC.
Not identical to UpdatedOn.
checklistItemsDoneCount
The number of checklist items marked as done.
checklistItemsCount
The total number of checklist items.
taskSchedulesCount
The number of task schedules for this task.
isCompletelyScheduled
Whether this task is completed scheduled.
commentCount
The number of comments on this task.
entityIdDeprecated
The id of the entity this task is assigned to.
This is the id of the project if this is a project task,
or the id of a user if this is a private task.
See 'BaseType' for supported types.