Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12874

Number of Plans in Admin > System Info area Reports Wrong # of Plans

      I recently noticed if I go to the Admin area and the System Information page, it shows the Instance Statistics section which lists number of plans and number of builds. The field for Number of Plans seems to be displaying an incorrect number.

      In a brand new fresh install of Bamboo 4.4.0 I created 3 empty Plans. The Stats section then reports 3 Plans as expected. However if I edit a Plan and add 4 JOBS to the existing Default Stage, the Stats section now reports 7 Plans.

      The incorrect number seems to be fed from DefaultSystemStatisticsBean.getNumberOfPlans which calls PlanManager.getPlanCount

      If the field is labelled "Number of Plans" it should reflect the actual number of Plans, not Jobs in Stages.

            [BAM-12874] Number of Plans in Admin > System Info area Reports Wrong # of Plans

            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS New: 1
            Bugfix Automation Bot made changes -
            Support reference count Original: 2 New: 3
            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Bugfix Automation Bot made changes -
            Support reference count Original: 2 New: 1
            Gabriel Ribeiro made changes -
            Labels Original: bugfix quick-win New: bugfix quick-win support-request-triaged
            Gabriel Ribeiro made changes -
            Labels Original: bugfix support-request New: bugfix quick-win
            Foong (Inactive) made changes -
            Labels Original: bugfix New: bugfix support-request
            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Foong (Inactive) made changes -
            Security Original: Reporter and Atlassian Staff [ 10751 ]

              Unassigned Unassigned
              ef602377c686 Adam Myatt
              Affected customers:
              2 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated: