Link pipeline template
PUT/api/projects/:project_id/pipeline/template
Links a project to a pipeline template: its pipeline becomes the template's published version, as one save. Fields the template locks take its values; open fields keep the project's own on stages it already had. Requires Edit on the project, and custom mode on a plan with custom pipelines (409 otherwise); 409 template_unpublished, and 422 when an org pipeline rule set to Block refuses the result (the project is unchanged).
Request
Responses
- 200
- 422
OK
Unprocessable content