Issue Summary

      When declining a PR, the refs/pull-request/<PR ID> is not recreated when the PR is reopened

      Steps to Reproduce

      1. Create a pull request
      2. Navigate to <Bitbucket shared>/data/repositories/<repo slug>/refs/pull-requests
      3. Note the ID of your PR exists
      4. Decline the PR and note that the PR ID is gone (expected)
      5. Reopen the PR

      Expected Results

      The directory for the PR is recreated

      Actual Results

      The directory for the PR is not recreated

      Workaround

      Pushing any change to the master or source branch before OR after the PR is reopened will cause the directory to be created when the PR is open.

          Form Name

            [BSERV-11953] Pull Request refs are not recreated on re-open.

            Christine Haiss (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 495852 ]
            Christine Haiss (Inactive) made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 495852 ]
            Christine Haiss (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 485497 ]
            Christine Haiss (Inactive) made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 485497 ]
            Aaron made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 484040 ]
            Bryan Turner (Inactive) made changes -
            Fix Version/s New: 6.7.3 [ 90809 ]
            Fix Version/s New: 6.6.3 [ 90808 ]
            Fix Version/s New: 6.5.3 [ 90807 ]
            Fix Version/s New: 6.4.4 [ 90806 ]
            Fix Version/s Original: 6.9.0 [ 90491 ]
            Anton Shaleev made changes -
            Link New: This issue is duplicated by BSERV-12139 [ BSERV-12139 ]
            Michael Andreacchio made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 466611 ]

            Thank you for the answer Bryan

            Ricardo Deitoz Posser added a comment - Thank you for the answer Bryan

            ricardo.posser,

            Bitbucket Server 6.8.0 includes the fix (as do all later versions, currenly 6.8.1 and 6.9.0); I just forgot to update this issue. Point releases for 6.4-6.7 are still pending, but likely to happen in the next 2-4 weeks (it's the holidays, so timetables are a bit loose right now). They haven't been cut previously because we've been accumulating some other fixes.

            Best regards,
            Bryan Turner
            Atlassian Bitbucket

            Bryan Turner (Inactive) added a comment - ricardo.posser , Bitbucket Server 6.8.0 includes the fix (as do all later versions, currenly 6.8.1 and 6.9.0); I just forgot to update this issue. Point releases for 6.4-6.7 are still pending, but likely to happen in the next 2-4 weeks (it's the holidays, so timetables are a bit loose right now). They haven't been cut previously because we've been accumulating some other fixes. Best regards, Bryan Turner Atlassian Bitbucket

              bturner Bryan Turner (Inactive)
              alevinson Aaron
              Affected customers:
              29 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: