diff --git a/lib/modules/platform/bitbucket/index.ts b/lib/modules/platform/bitbucket/index.ts index ff3e2ca323bd9e4133eb97c8a080cdf87f000c4d..1f52707e65bc851871a5071c015ad445725cf25d 100644 --- a/lib/modules/platform/bitbucket/index.ts +++ b/lib/modules/platform/bitbucket/index.ts @@ -279,7 +279,12 @@ export async function getPrList(): Promise<Pr[]> { if (renovateUserUuid && !config.ignorePrAuthor) { url += `&q=author.uuid="${renovateUserUuid}"`; } - const prs = await utils.accumulateValues(url, undefined, undefined, 50); + const prs = ( + await bitbucketHttp.getJson<PagedResult<PrResponse>>(url, { + paginate: true, + pagelen: 50, + }) + ).body.values; config.prList = prs.map(utils.prInfo); logger.debug(`Retrieved Pull Requests, count: ${config.prList.length}`); }