Creates a new task template for the task bundle with the specified id.

POST

Creates a new task template for the task bundle with the specified id.

Required Permissions: The user must be an admin or have task-manage-config:write permissions.

Path parameters

taskBundleIdstringRequired
The id of the task bundle.

Request

This endpoint expects an object.
namestringOptional
The name of the task created from this template.
descriptionstringOptional
The description of the task created from this template.
isPriobooleanOptional
Whether the task created from this template will be marked as priority.
plannedDurationintegerOptional
The expected planned workload of the task created from this template, in seconds.
relativeStartOnlongOptional
The relative start date and time of the task created from this template, in seconds, from the moment of creating the task.
relativeDueOnlongOptional
The relative due date and time of the task created from this template, in seconds, from the moment of creating the task.
typeOfWorkIdstringOptional
The id of the type of work of this task.
assignedRoleIdstringOptional
The id of the assigned role of this task.
parentIdstringOptional
The id of the parent task template if the task template is a subtask.
subtaskOrderdoubleOptional
The order of the subtask template relative to its parent task template.

Response

This endpoint returns an object
namestringOptional
The name of the task created from this template.
descriptionstringOptional
The description of the task created from this template.
isPriobooleanOptional
Whether the task created from this template will be marked as priority.
plannedDurationintegerOptional
The expected planned workload of the task created from this template, in seconds.
relativeStartOnlongOptional
The relative start date and time of the task created from this template, in seconds, from the moment of creating the task.
relativeDueOnlongOptional
The relative due date and time of the task created from this template, in seconds, from the moment of creating the task.
typeOfWorkIdstringOptional
The id of the type of work of this task.
assignedRoleIdstringOptional
The id of the assigned role of this task.
parentIdstringOptional
The id of the parent task template if the task template is a subtask.
subtaskOrderdoubleOptional
The order of the subtask template relative to its parent task template.
idstringOptional
The Id of the task template.
taskTypeobjectOptional
The task type model.
taskListTemplatelist of objectsOptional
The task list templates of the task template.
taskDependencyTemplateslist of objectsOptional
The list of task dependency templates for that task template.
assigneeIdslist of stringsOptional
The list of assigned users to that task template.
createdOndatetimeOptional
The date this task was created.
createdBystringOptional
The id of the user who created this task.
updatedOndatetimeOptional
The date this task was last modified.
updatedBystringOptional
The id of the user who last modified this task.
orderdoubleOptional
For internal purposes.
hasAttachmentsbooleanOptional
If the task template has attachments.
isRecurringbooleanOptional
If the task is a recurrency template, the flag is true.
customFieldslist of objectsOptional
The Custom fields of the task template.
tagslist of objectsOptional
The list of tags that will be applied to the task when it is created.