Unable to get builds under buildTypes in recent releases

In a previous release (like 3 months ago) the following API call worked:

app/rest/buildTypes/?locator=affectedProject:(id:<project>)&fields=buildType(id,name,projectName,projectId,href,webUrl,builds($locator(running:false,count:1,branch(default:true)),build))

This returned the most recent build, on the default branch, for all buildTypes in the referenced project.   With more recent releases – not sure when, but somewhere around 2022.04 - this is no longer working for me.

Is there some issue with retrieving builds in this way?

Is there some other way I can retrieve all the builds under a set of buildTypes in a single call?

Thanks...

Please sign in to leave a comment.