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.
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
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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.