Reminder: “List pull requests for a user” API removal

Hi Bitbucket community,

This is a reminder about a Bitbucket Cloud REST API endpoint that will be removed on Feb 20, 2025. If you’re currently making calls to this endpoint, you’ll need to make changes ASAP. Please continue reading to understand how you may be impacted.

What is changing

As mentioned in a previous deprecation notice, on Feb 20, 2025 Bitbucket will be removing the List pull requests for a user API endpoint, which fetches pull requests authored by a given user across all of their workspaces.

We have introduced a new endpoint, List workspace pull requests for a user, which limits results to a single workspace. This new operation works the same way as the deprecated endpoint but requires the {workspace} path parameter.

Note: If you need to retrieve pull requests authored by a given user across multiple workspaces, follow these steps:

  1. Get the list of available workspaces using the List workspaces for user operation.
  2. Iterate over the list of workspaces and use the List workspace pull requests for a user operation to get requests authored by the user in each workspace.

Who this impacts

  • REST API users - If you’ve written an application or automation that calls the deprecated endpoint, you should migrate to the new endpoint ASAP. The deprecated endpoint will return a 404 error starting on Feb 20, 2025.
  • GitKraken Desktop users - If you’re using GitKraken Desktop with Bitbucket Cloud repos, you should update to version 10.6.3 or later. Previous versions were making use of the deprecated endpoint, and will stop working correctly as of Feb 20, 2025.

Timing

The List pull requests for a user endpoint will be removed on Feb 20, 2025. You should plan to migrate your usage before then.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events