taskTemplateCreate Mutation

Creates a new task template.

Input Argument

taskTemplateCreate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

assignToChangeManager (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Manager field of the change to which the task belongs.

assignToRequester (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Requested for field of the request for which the change is being generated.

assignToRequesterBusinessUnitManager (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Manager field of the business unit to which the organization belongs that is linked to the person who is selected in the Requested for field of the request for which the change is being generated.

assignToRequesterManager (Boolean)

Whether the manager of the requester of the first related request is to be selected in the Approver field of a new task when it is being created based on the template.

assignToServiceOwner (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Service owner field of the service that is linked to the change that the new task is a part of.

category (TaskCategory!)

The category that needs to be selected in the Category field of a new task when it is being created based on the template.

clientMutationId (String)

A unique identifier for the client performing the mutation.

configurationItemIds ([ID!])

Identifiers of the configuration items of the task template.

copyNotesToChange (Boolean)

Whether the Copy note to change box of tasks that were created based on the template needs to be checked by default. (The Copy notes to change checkbox is called "Copy notes to change by default" when the task template is in Edit mode.)

disabled (Boolean)

Whether the task template may not be used to help register new tasks.

effortClassId (ID)

Identifier of the effort class that is selected by default, when someone registers time on a task created based on the template.

impact (TaskImpact)

The impact level that needs to be selected in the Impact field of a new task when it is being created based on the template.

instructions (String)

The information that needs to be copied to the Instructions field of a new task when it is being created based on the template.

memberId (ID)

Identifier of the person who should be selected in the Member field of a new task when it is being created based on the template.

newApprovals ([TaskTemplateApprovalInput!])

Approvals of the task template.

note (String)

The information that needs to be copied to the Note field of a new task when it is being created based on the template.

pdfDesignId (ID)

Identifier of the PDF design that needs to be copied to the PDF design field of a new task when it is being created based on the template.

plannedDuration (Int!)

The number of minutes that should be entered in the Planned duration field of a new task when it is being created based on the template.

plannedEffort (Int)

The number of minutes the member is expected to spend working on a task that was created based on the template.

plannedEffortChangeManager (Int)

The number of minutes the change manager is expected to spend working on a task that was created based on the template.

plannedEffortRequester (Int)

The number of minutes the person, who is selected in the Requested for field of the first related request, is expected to spend working on a task that was created based on the template.

plannedEffortRequesterBusinessUnitManager (Int)

The number of minutes the business unit manager of the requester of the first related request is expected to spend working on a task that was created based on the template.

plannedEffortRequesterManager (Int)

The number of minutes the manager of the requester of the first related request is expected to spend working on a task that was created based on the template.

plannedEffortServiceOwner (Int)

The number of minutes the owner of the service of the related to the change is expected to spend working on a task that was created based on the template.

requestServiceInstanceId (ID)

Identifier of the service instance that should be selected in the Request service instance field of a new task when it is being created based on the template.

requestTemplateId (ID)

Identifier of the request template that should be selected in the Request template field of a new task when it is being created based on the template.

requiredApprovals (Int)

The number that needs to be specified in the Required approvals field of a new approval task when it is being created based on the template.

serviceInstances ([ID!])

Identifiers of the service instances of the task template.

source (String)

An identifier for the client application submitting the resource or the name of an external system

sourceID (String)

The unique identifier of the resource in an external system

subject (String!)

A short description that needs to be copied to the Subject field of a new task when it is being created based on the template.

supplierId (ID)

Identifier of the supplier organization that should be selected in the Supplier field of a new task when it is being created based on the template.

teamId (ID)

Identifier of the team that should be selected in the Team field of a new task when it is being created based on the template.

uiExtensionId (ID)

UI extension that is to be applied to the record.

urgent (Boolean)

Whether a new task that is created based on the template is to be marked as urgent.

workHoursAre24x7 (Boolean)

Whether the completion target of tasks created based on the template are calculated using a 24x7 calendar rather than normal business hours.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

taskTemplate (TaskTemplate)

Record after mutation.