Updating milestone for several issues (usually) doesn't work

Summary

When updating a milestone for several issues together through the issues list (for example moving all issues from milestone 0.22 to milestone 0.23) it takes several times until it's actually updated

Steps to reproduce

  1. Go to a repository
  2. Open the issues list (press issues)
  3. Filter issues by milestone
  4. Press "edit issues"
  5. Select all the issues on the list (by marking the checkbox on the top of the list)
  6. Change the milestone for all issues
  7. Press "update all"

What is the current bug behavior?

On most cases when pressing "update all" the screen will refresh but the milestone on all issues will remain the same (not updated), it would take 2 or more additional edits before the milestone is actually updated.

What is the expected correct behavior?

The milestone should be updated after the first edit and not remain the same

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes

Edited by Amit Mandelbom