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

Pull request count badge in the sidebar includes draft PRs

    XMLWordPrintable

Details

    Description

      Issue Summary

      The pull request link in the repository sidebar includes a badge to indicate the number of open PRs. This number includes draft PRs even though when clicking on the link the list of PRs shown does not include draft PRs

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Look at the badge on the PR link in the sidebar
      2. Click on the link and look at the number of PRs displayed

      Expected Results

      The number of PRs displayed after clicking the PR link in the sidebar should match the number on the badge

      Actual Results

      The PRs that are displayed do not include draft PRs so there is a discrepancy

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              khughes@atlassian.com Kristy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: