We are using BitBucket Server for source and Bamboo Server for builds and deployment. I'm trying to work out via the API's if it is possible to find all the commits on the default branch of a given repo that have been made since the last time that repo was successfully deployed.
I can get bits out of the API's such as commits for a repo, build plans and deployments, but can't seem to figure out how join the pieces up.