All Versions
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
For retrieving history of a build, you should have the BuildResultsSummaryManager injected into your plugin through setter injection. Once that is done there's a series of search methods that you can get a handle on. The most flexible one being findBuildResultsSummaries, where you can have arbitrary search criteria.