Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

An option to close source branch on PR decline

Ali Farooqi
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!
July 28, 2024

I wanted to request to add an option to close the source the branch when a Pull Request is declined. This feature could be useful when declining a Pull Request created by automated bots, like renovate bot or the revert PR on Bitbucket. In such cases, you usually delete the branch manually after the Pull Request is declined, but this step is often overlooked as it is a manual process leading to unnecessary cluttering of branches.

3 answers

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 30, 2024

Hi Ali and welcome to the community!

Thank you for the feedback, I went ahead and created a feature request in our issue tracker:

I suggest adding your vote to that feature request (by selecting the Vote for this issue link) as the number of votes helps the product managers better understand the demand for new features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to be notified via email on updates.

Implementation of features is done as per our policy here and any updates will be posted in the feature request.

Kind regards,
Theodora

0 votes
Gajesh Bhat
Contributor
July 29, 2024

You can write a custom Pipe Workflow to achieve this automation using a pipeline step or a series of Workflows. https://support.atlassian.com/bitbucket-cloud/docs/what-are-pipes/

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2024

Hi @Ali Farooqi,

You might be interested in Flowie, an addon we have for Bitbucket Cloud, which allows you to automate this type of workflow!

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events