Classes
Methods
# async create(taskDependency) → {Promise.<TaskDependency>}
Creates a new task dependency. To create a task dependency, the user needs to be the assignee of both tasks or 'ProjectPlanning' permissions in general or in the project the tasks are related to.
Parameters:
Name | Type | Description |
---|---|---|
taskDependency |
TaskDependencyCreateModel
|
Describes the dependency between two tasks. One Task is the predecessor and one task is the successor. |
Promise.<TaskDependency>
# async delete(taskDependencyId) → {Promise.<void>}
Deletes a task dependency. To delete a task dependency, the user needs to be the assignee of both tasks or 'ProjectPlanning' permissions in general or in the project the task are related to.
Parameters:
Name | Type | Description |
---|---|---|
taskDependencyId |
String
|
The id of the task dependency. |
Promise.<void>