Hi,
Pull request is not getting automatically unapproved if the Pull request is retargeted to a different branch.
I am using the 'Auto Unapprove for Bitbucket Server' plugin. After I get an approval on a Pull Request and I change the target branch, the existing approval does not go away. The request stays in the approved state.
- Click on the Log in button and the user is able to view the main dashboard of Stash
- Click on your team's project or training project in the project dashboard landing page.
- Click on any of the repository name And user will redirected to Source page of that particular repository
- Click on Repository setting.
- Click on General under Pull Request.
- Check the option "Unapprove automatically on new changes" and click on save.
- Create a new branch.
- Commit some changes and push those changes to the new branch.
- Click on Create Pull Request from left navigation panel and create a pull request (new branch (where changes are pushed) as source and master as destination).
- Add any reviewer.
- Click on create.
- Login with the reviewer’s credentials.
- Click on My Pull Request from the top right corner.
- Open the Pull Request and approve it.
- Login again with your credentials.
- Create another branch.
- Click on Pull request for the left menu panel.
- Open the above created pull request.
- Click on the (...) at the top right corner.
- Click on Edit.
- Change the Destination branch from master to newly created branch.
- Click on Save.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.