Identify the "build configurations" that is using a particular "build configuration template" via rest API

Hi,

 

I'm trying to identify or list down the build configurations that is a using a specific template. Is there a way to do this via rest API?

e.g. Template1 is used in BuildConfig1, BuildConfig2 and BuildConfig_nth

3 comments
Comment actions Permalink

could you please give an example how to fetch the buildtypes of a particular template 

0
Comment actions Permalink

Here is an example of a request to fetch buildtypes that use a specific template.

<teamcity server>/app/rest/buildTypes?locator=template:<Build Template ID>

In case it is helpful to anyone, here is the link to the latest documentation on this subject: https://www.jetbrains.com/help/teamcity/rest-api.html#RESTAPI-ProjectsandBuildConfiguration/TemplatesLists

0

Please sign in to leave a comment.