I have created a pull request where I can no longer edit the description. BitBucket shows "Something went wrong, We couldn’t update the description. Wait a few minutes and then try again.".
The browser console shows an attempt at PUT https://bitbucket.org/!api/2.0/repositories/company/reponame/pullrequest/id which received HTTP 400 with a JSON error "reviewers: XXXXX is no longer a member of this workspace and cannot be added to this pull request". XXXXX previously marked the PR as approved, but his account was recently disabled because he left the company a few days ago.
This sounds like a bug?
Hi François-Xavier,
This is indeed a bug and has been raised with our developers accordingly in the past:
To resolve this:
Please let me know how this goes.
Cheers!
- Ben (Bitbucket Cloud Support)
Hi Ben,
When trying to remove reviewers from the web UI I see the following request fail with a 403 (and a JSON body with message "You cannot remove reviewers with status"):
DELETE
https://bitbucket.org/!api/internal/repositories/company/repo/pullrequests/id/reviewers/somehash
The reviewer has already been removed from the default reviewers, so I'm not sure if the API you linked to is worth trying?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi François-Xavier,
Please allow me to step in as Ben is out of office.
In this case, since the reviewer previously approved the PR, I'm afraid it will not be possible to edit it. The only workaround would be declining the PR and creating a new one.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Theodora,
Got it, thanks! That's what I supposed but it's good to get confirmation.
François-Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.