When an issue is moved from a custom board list to the "Open" board list the milestone of the is lost
Summary
Given I have an issue with Milestone field set and it is in an custom board list, when I move that issue back to the "Open" board list (the default one) the Milestone of the issue is lost and the field become empty.
Steps to reproduce
- Create an issue
- Set a Milestone to it
- Go to Issues board
- Create a custom board list
- Move the created issue to the custom board list
- Move the issue back to "Open" board list (now the milestone is lost)
Example Project
Example project: https://gitlab.com/redivo/board-bug-example
Buggy board: https://gitlab.com/redivo/board-bug-example/boards
Buggy issue: redivo/board-bug-example#3
What is the current bug behavior?
The Milestone is removed from the issue when it goes from a custom board list to the "Open" board list.
What is the expected correct behavior?
The Milestone of the issue is not changed when it goes from a custom board list to the "Open" board list. (except for the first edge case below).
Edge cases
-
When an issue is moved from a milestone list to the open list, the milestone should be removed.
-
When an issue is moved from a milestone list to the closed list, the milestone should not be removed.
Docs to update:
Update this table with the milestone list cases: https://docs.gitlab.com/ee/user/project/issue_board.html#dragging-issues-between-lists
Relevant logs and/or screenshots
N/A
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
N/A
Results of GitLab application Check
N/A
Possible fixes
N/A