Forums

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

Pull request is not getting automatically unapproved if the Pull request is retargeted to a differen

aditigidra May 24, 2018

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.

  1. Click on the Log in button and the user is able to view the main dashboard of Stash
  2. Click on your team's project or training project in the project dashboard landing page.
  3. Click on any of the repository name And user will redirected to Source page of that particular repository
  4. Click on Repository setting.
  5. Click on General under Pull Request.
  6. Check the option "Unapprove automatically on new changes" and click on save.
  7. Create a new branch.
  8. Commit some changes and push those changes to the new branch.
  9. 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).
  10. Add any reviewer.
  11. Click on create.
  12. Login with the reviewer’s credentials.
  13. Click on My Pull Request from the top right corner.
  14. Open the Pull Request and approve it.
  15. Login again with your credentials.
  16. Create another branch.
  17. Click on Pull request for the left menu panel.
  18. Open the above created pull request.
  19. Click on the (...) at the top right corner.
  20. Click on Edit.
  21. Change the Destination branch from master to newly created branch.
  22. Click on Save.

 

1 answer

1 accepted

0 votes
Answer accepted
aditigidra May 24, 2018

I noticed that if I edit the description or any other parameter, and change the destination folder, it works.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events