title: TeamCity REST API: Who broke the build?
body: <p>In our office we use a custom <a href="http://www.geckoboard.com/" rel="nofollow">Geckoboard</a> to display information about our current build status from our <strong>TeamCity 8</strong> build server.</p>
  
  <p>We display <strong>recent check-ins/changes</strong>, using the following REST query: <code>http://teamcity.internal.com:8080/httpAuth/app/rest/changes?project:ProjectName&amp;locator=count:10</code></p>
  
  <p>We also calculate the <strong>last time the build was broken</strong> with this REST query: <code>http://teamcity.internal.com:8080/httpAuth/app/rest/builds?locator=project:ProjectName</code></p>
  
  <p>However what we've not just been able to do is link the two.</p>
  
  <p>In other words:</p>
  
  <ul>
  <li>For <strong>recent changes</strong> to determine if the checkin lead to a broken build</li>
  <li>For the <strong>last time the build was broken</strong> determine who made that checkin</li>
  </ul>