Details
-
Bug
-
Resolution: Answered
-
Medium
-
None
-
2.9.4
-
None
Description
Steps to reproduce this problem:
- Create a new feature branch, make some commits
- Create a pull request in Stash
- Approve the pull request and merge it (also delete the branch)
- Test fails, ticket goes back to development
- Development creates the branch by clicking on "Create branch" in JIRA
- Some commits on the "new" branch (with same name)
- Create a new pull request
- Decline the pull request (e.g. because of bad code)
- Now there is no open pull request for the branch, only one merged and one declined
- Branch is now shown as Merged in the branch list in stash, but actually it was Declined in the last pull request. Looks like the first pull request is used to show the pull request state in the branch list. But in our opinion it should use the newest pull request.