Ask A Question

View Question

Does anyone know of a way to pull back all release variables attached to a specific release? I am looking to automatically create a new release for an application by essentially "cloning" an existing release. Currently I can create a new "target" release using the same template and pipeline as a specified "source" release. However, now I am trying to copy release variables from the "source" to the "target" and am having trouble finding any entry points to reach this data. I can't seem to find any documented functions, operators, release api endpoints, or native api endpoints that will return the release variables. It doesn't even look like there are any stored procedures in the database that return this information meaning my only option is to directly read from the dbo.ReleaseVariables table which I would assume is highly discouraged. Hopefully I am just overlooking some bit of documentation and someone can point me in the right direction.

Product: BuildMaster
Version: 5.6.8

The native api has Variables_GetReleaseVariables for this purpose.

Don't use that, use the Variables API instead.

Answer Question