[Work items] Objective progress setting to a different value than given
Summary
Objective progress cannot be set to 29. It's set to 28 instead.
Steps to reproduce
- Ensure
okrs_mvc
feature flag is enabled. https://docs.gitlab.com/ee/user/okrs.html
Feature.enabled(:okrs_mvc)
- Create a new Objective under Plan -> issues. Under
New issue
dropdown, selectnew objective
, give it a title. I made this one confidential but I don't think it matters. - Set the progress to 29. A system note is created that it was set to 28 instead.
Example Project
What is the current bug behavior?
The objective's progress is set to 28.
What is the expected correct behavior?
The objective's progress should be set to 29.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)