Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4303

"Pull requests" column in branch list shows wrong state

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            9640a0c0a3ae jj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: