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.

          Form Name

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

            Should rather count instances of Chain ?

            Sebastien Delcoigne added a comment - Should rather count instances of Chain ?

            Still the case in bamboo 6.3.1 ...

            Data of Sysinfo is fetched from planManager.getPlanCount which count jobs not plans. Info on allPlans.action is more accurate.

            Sebastien Delcoigne added a comment - Still the case in bamboo 6.3.1 ... Data of Sysinfo is fetched from planManager.getPlanCount which count jobs not plans. Info on allPlans.action is more accurate.

            Adam Myatt added a comment -

            I've also tested Bamboo 4.2.0 and as far back as 3.4.4 and it seems the same issue exists in both those versions.

            Adam Myatt added a comment - I've also tested Bamboo 4.2.0 and as far back as 3.4.4 and it seems the same issue exists in both those versions.

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

                Created:
                Updated: