Class

ProjectSubtasks

ProjectSubtasks(client, taskId, subtaskId, projectId)

Class corresponding to Aworks ProjectSubtasks Endpoints
Constructor

# new ProjectSubtasks(client, taskId, subtaskId, projectId)

Endpoint constructor
Parameters:
Name Type Description
client Client
taskId String The id of the task.
subtaskId String The id of the subtask.
projectId String The id of the project.
See:
  • [ProjectSubtasks in Awork API Docs](https://openapi.awork.com/#/ProjectSubtasks)

View Source endpoints/ProjectSubtasks.js, line 9

Classes

ProjectSubtasks

Methods

# async get() → {Promise.<SubTask>}

Returns a subtask for a project task with the specified id. To retrieve the subtasks of a project task either 'read' permissions on the 'project-planning-data' feature are required or the user needs to be assigned.

View Source endpoints/ProjectSubtasks.js, line 33

Promise.<SubTask>

# async list(optionsopt) → {SubTask}

Returns the subtasks for a project task with the specified id. To retrieve the subtasks of a project task either 'read' permissions on the 'project-planning-data' feature are required or the user needs to be assigned.
Parameters:
Name Type Attributes Description
options ListOptions <optional>
Pagination and filtering options

View Source endpoints/ProjectSubtasks.js, line 44

SubTask