When an author creates a pull request and a colleague updates this request, it is possible for the author to show as both the reviewer and author (on the PR author's dashboard) which is a bit of a strange bug.
Here are the steps to achieve this:
- User A is POST'ing for a new PR with source branch X to Destination Y, adding user B as a reviewer
- Then user C, makes the same pull request POST with source branch X to Destination Y adding user A as a reviewer
- The already created PR gets updated, and instead of a new PR created, or error thrown (as a duplicate) the user A now sees the PR on his Bitbucket dashboard in both sections as a PR to review and My Pull requests
(scenario seen in screenshot)
This also changes the behavior on the reviewer's view as well -- they will no longer see "pull requests waiting to review" but will see their view change to see the pull request under My pull requests (even though they are not the author)