Creates a new automation for a given projecttemplate.

POST

Creates a new automation of the projecttemplate with the specified id. To create the the automation the user needs to have ‘write’ permissions of the feature ‘project-manage-config’ globally.

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

Path parameters

projectTemplateIdstringRequired

Request

This endpoint expects an object.
typestringRequired>=1 character

The type of the trigger.

valueslist of objectsOptional

The values of the trigger.

Response

OK

idstringOptionalformat: "uuid"

The id of the automation.

createdBystringOptionalformat: "uuid"

The id of the user who created the automation.

createdOndatetimeOptional

The date the automation was created.

updatedBystringOptionalformat: "uuid"

The id of the user who updated the automation.

updatedOndatetimeOptional

The date the automation was updated.

triggerIdstringOptionalformat: "uuid"

The id of the trigger which is related to the automation.

triggerobjectOptional
enabledbooleanOptional

Whether the automation is enabled.

statestringOptional

The state of the automation. See AutomationsService.DAL.Models.AutomationState for the possible values.

createdByProjectTemplatebooleanOptional

Whether the automation was created from an automation template of a project template.

projectIdstringOptionalformat: "uuid"

The id of the project which is related to the automation.

projectTemplateIdstringOptionalformat: "uuid"

The id of the project template which is related to the automation.

actionslist of objectsOptional

The actions which is related to the automation.

failedobjectOptional
Built with