stack72/TeamCitySharp — Issue #18: Feature suggestion - ChangeByBuildConfigId
Author: MasterGarrett
Created: 2012-02-22 21:35:12+00:00
State: open

Hi

I would like to suggest that a LastChangeByBuildConfigId method is added.
Currently I'm using my own implementation as so:

public Change LastChangeByBuildConfigId(string buildConfigId)
{
var changeWrapper = _caller.GetFormat("/app/rest/changes?buildType={0}", buildConfigId);

return changeWrapper.Change.FirstOrDefault();
}

This enables me to find latest change to a build config instead of a build.