Edit Project Settings
This article contains use cases related to editing projects via TeamCity REST API:
Edit project-level build parameters and project name and description.
Update project features.
Archive and unarchive a project.
Manage Project-Level Build Parameters
To get a value of an existing project-level build parameter, use:
By default, the call will return text/plain
with the value of the parameter.
To create a parameter, use:
The type of the request's body is Property:
To update a parameter, send the same body with the following PUT
request:
To delete a project-level parameter, use:
Update Project Name and Description
To get a project's name or description, use:
where fieldName
is either name
or description
. To update either field, use:
The payload should be in the text/plain
format.
Create Project Feature
Project features include issue trackers, versioned settings, custom charts, shared resources, and third-party report tabs.
To create a new project feature, use:
For example, to add a new report tab, post the following ProjectFeature:
Edit Project Feature
To get a specific project feature, use:
To update it, PUT ProjectFeature
to the below endpoint:
To delete a project feature, use: