You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello,
My company requires for specific and relevant reasons that all the reviews to be archived or saved in some sense. I have prior experience with BitBucket and i know the platform saves all the pull requests which were handled but i don't know for how long.
Is there a way to kind of archive the pull request and download it locally? Or save the pull request history for an indefinite period of time somewhere?
Thank you very much!
Hi @Iliuta Daniel Dogaru and welcome to the community!
In Bitbucket Cloud, pull requests remain on repos for as long as the repos exist.
There is no way for end users to delete PRs and we do not delete any PRs automatically after a certain period of time.
The only way of deleting a PR is if an admin reaches out to the support team and requests to have a PR deleted.
If a repository gets deleted by an admin, then any associated PRs will get deleted as well and there is no way to recover them in this case.
The pull requests page of a repo and of a workspace shows by default open PRs, but there are filters there to show all PRs (including merged and declined ones).
If you want to get PR info locally, we provide several API endpoints you could use:
and several more you can find here: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-group-pullrequests
If you have any other questions, please feel free to let me know.
Kind regards,
Theodora
I just wanted to add that we do have a feature request to allow users to delete PRs: https://jira.atlassian.com/browse/BCLOUD-22181
You may want to add yourself as a watcher if you would like to get notified when this is implemented so that you're aware of when this is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.