Classes
Methods
# async recurrency(taskTemplateId) → {Promise.<Recurrency>}
Returns the existing recurrency rule for one task template.
Parameters:
Name | Type | Description |
---|---|---|
taskTemplateId |
String
|
The id of the task template. |
Promise.<Recurrency>
# async setAssignees(taskTemplateId, userIds) → {Promise.<void>}
This method is used to assign users to a task template that belongs to a task bundle. You always need to pass all users you want to assign. If an already assigned user is not in the passed user id list, he/she gets unassigned.
Users need write permissions for the feature 'task-manage-config'.
Parameters:
Name | Type | Description |
---|---|---|
taskTemplateId |
string
|
The id of the task template. |
userIds |
Array.<String>
|
An array with user ids. |
Promise.<void>