Unable to render embedded object: File (TeamCity48.png) not found.

TeamCity 10.x and 2017.x Documentation

Icon

You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Project Features

Project features (e.g. issue trackers, versioned settings, custom charts, shared resources and third-party report tabs) are exposed since TeamCity 10.Get/set/add/delete features and their parameters via theas entries under the "project" node and via dedicated requests.

List of project features: http://teamcity:8111/httpAuth/app/rest/projects/<projectLocator>/projectFeatures request.
Filter features of a project, e.g. find all GitHub issue trackers configured for a given project: GET List features with filtering: http://teamcity:8111/httpAuth/app/rest/projects/<projectLocator>/projectFeatures?locator=<projectFeaturesLocator>  e.g. to find all issue tracker features of GitHub type, use locator "type:IssueTracker,property(name:type,value:GithubIssues)Filter projects by a project feature,  e.g. find all projects with GitHub configured as an issue tracker: GET "
Edit features:  GET/DELETE/PUT http://buildserverteamcity:8111/httpAuth/app/rest/projects?locator=projectFeature:(type:IssueTracker,property(name:type,value:GithubIssues))/<projectLocator>/projectFeatures/<featureId>

VCS Roots

List all VCS roots: GET http://teamcity:8111/httpAuth/app/rest/vcs-roots
Get details of a VCS root/delete a VCS root: GET/DELETE http://teamcity:8111/httpAuth/app/rest/vcs-roots/<vcsRootLocator>, where <vcsRootLocator> is "id:<internal VCS root id>"
Create a new VCS root: POST VCS root XML (the one like retrieved for a GET request for VCS root details) to http://teamcity:8111/httpAuth/app/rest/vcs-roots

...