How can decline multiple pull request ?

Sandeep Rana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 6, 2023

Hi ,

 

I am trying to clean up the bit-bucket branches and let i know , there is no option to decline the all associate open pull request in one go.

Does   bit-bucket allow the multiple pull request delete / decline ?

 

 

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 7, 2023

Hello @Sandeep Rana and welcome to the Community!

I'm afraid it's not currently possible to delete pull requests, and we have the feature request BCLOUD-22181 to implement this functionality.

As for declining pull requests in bulk, while this is not available in the UI, you may use the Bitbucket API to decline multiple pull requests under your workspace by following the below steps :

You could build a script leveraging those API endpoints to be able to decline them in bulk from your repository.

Let us know in case you have any questions!

Thank you, @Sandeep Rana !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events