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

"View pull requests" link on failed archive should ensure drafts are shown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.18.0
    • Administration

    Description

      Issue Summary

      Admins get confused when they are unable to archive a repository because there are open pull requests but the message telling them to close pull requests links to an empty list of pull requests.

      The link to "View pull requests" should ensure drafts are shown by including ?showDrafts=true in the link.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Make a repository and open a couple draft pull requests
      2. Try to archive the repository
      3. The archive will fail because there are open pull requests. The error flag gives you a link to view open PRs.
      4. Click the "View pull requests" link

      Expected Results

      You can see all open pull requests, including drafts

      Actual Results

      If the only open pull requests are drafts, it appears that there are no open pull requests

      Workaround

      After users view open pull requests, they can click the "Show drafts" checkbox

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bplump Brent P
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: