Classes
Methods
# async copy(taskBundleId) → {Promise.<TaskBundle>}
Creates the taskbundle, task templates, task list templates, task template to task list templates and copies the attachments.
Parameters:
Name | Type | Description |
---|---|---|
taskBundleId |
String
|
The id of the task bundle to be copied. |
Promise.<TaskBundle>
# async create(taskbundle) → {Promise.<TaskBundle>}
Returns the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskbundle |
TaskBundleModel
|
Promise.<TaskBundle>
# async createFromProject(projectId, taskBundle) → {Promise.<Task>}
Creates a new task bundle from the specified project.
Parameters:
Name | Type | Description |
---|---|---|
projectId |
String
|
The id of the project of which the new task bundle will be created. |
taskBundle |
TaskBundleCreateModel
|
The model to create the task bundle. |
Promise.<Task>
# async createFromTaskList(taskListId, taskBundle) → {Promise.<Task>}
Creates a new task bundle from the specified task list.
Parameters:
Name | Type | Description |
---|---|---|
taskListId |
String
|
The id of the task list of which the new task bundle will be created. |
taskBundle |
TaskBundleCreateModel
|
The model to create the task bundle. |
Promise.<Task>
# async delete(taskBundleId) → {Promise.<void>}
Deletes the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskBundleId |
String
|
Promise.<void>
# async get(taskBundleId) → {Promise.<TaskBundle>}
Returns the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskBundleId |
String
|
Promise.<TaskBundle>
# async icons() → {Promise.<Array.<String>>}
Returns all possible icons for a task bundle.
Promise.<Array.<String>>
# async list(optionsopt) → {Promise.<Array.<TaskBundle>>}
Returns all global task bundles.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options. |
Promise.<Array.<TaskBundle>>
# taskListTemplates(projectId) → {ProjectProjectStatus}
Returns the TaskBundleTaskListTemplates Endpoint with the specified task bundle Id.
Parameters:
Name | Type | Description |
---|---|---|
projectId |
String
|
The id of the task bundle. |
ProjectProjectStatus
# taskTemplates(projectId) → {ProjectProjectStatus}
Returns the TaskBundleTaskTemplates Endpoint with the specified task bundle Id.
Parameters:
Name | Type | Description |
---|---|---|
projectId |
String
|
The id of the task bundle. |
ProjectProjectStatus
# async update(taskBundleId, taskBundle) → {Promise.<TaskBundle>}
Updates the task bundle with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
taskBundleId |
String
|
|
taskBundle |
TaskBundleModel
|
Promise.<TaskBundle>