Milestone Churn Graph shows negative numbers

Summary

On our project, we've encountered a churn graph that's gone into the negatives (currently at -3 open issues).

Steps to reproduce

I am not sure. We've worked on this milestone for a month now, where we've opened, closed, fixed, moved, merged several hundred issues in 8-10 different repositories. So I wouldn't know where to start.

I do know though, that this is a calculated value - as if we close an issue or create a new one, the graph moves immediately. It also changes if we change the milestone date (which we also did)

Example Project

On-premise. I can't export these projects.

What is the current bug behavior?

As of writing, our Churn graph has moved to -3 open issues, while we still have 34 open issues.

What is the expected correct behavior?

The churn graph should stay at 34 open issues, as that's what we have right now.

Relevant logs and/or screenshots

Numbers. Our milestone currently has:

  • 198 issues
    • 34 open
    • 164 closed
  • 112 merge requests
    • 12 closed
    • 88 merged
    • 12 open

image

image

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Ubuntu 18.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.21.0 Sidekiq Version:5.2.7 Go Version: unknown

GitLab information Version: 12.0.3-ee Revision: 1b1872f9d93 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.7 URL: https://OUR.HOSTNAME.com HTTP Clone URL: https://OUR.HOSTNAME.com/some-group/some-project.git SSH Clone URL: git@OUR.HOSTNAME.com:some-group/some-project.git Elasticsearch: yes Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: azure_oauth2

GitLab Shell Version: 9.3.0 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... OK (9.3.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 2/1 ... yes 2/9 ... yes 2/13 ... yes 2/51 ... yes 2/52 ... yes 49/59 ... yes 2/61 ... yes 2/62 ... yes 2/69 ... yes 2/72 ... yes 2/73 ... yes 2/84 ... yes 2/113 ... yes 2/146 ... yes 17/147 ... yes 17/158 ... yes 17/162 ... yes 49/163 ... yes 49/164 ... yes 49/168 ... yes 49/169 ... yes 49/172 ... yes 52/184 ... yes 2/187 ... yes 49/195 ... yes 49/202 ... yes 49/205 ... yes 49/208 ... yes 17/209 ... yes 17/210 ... yes 2/213 ... yes 17/214 ... yes 49/215 ... yes 49/221 ... yes 49/223 ... yes 49/224 ... yes 49/225 ... yes 49/226 ... yes 67/228 ... yes 67/229 ... yes 17/230 ... yes 17/231 ... yes 2/232 ... yes 49/233 ... yes 69/235 ... yes 69/236 ... yes 69/238 ... yes 2/244 ... yes 49/246 ... yes 2/247 ... yes 2/248 ... yes 49/249 ... yes 69/250 ... yes 17/251 ... yes 60/253 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.3) Git version >= 2.21.0 ? ... yes (2.21.0) Git user has default SSH configuration? ... yes Active users: ... 5 Elasticsearch version 5.6 - 6.x? ... yes (6.7.0)

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

N/A

Assignee Loading
Time tracking Loading