Auto close issue in same repos from commits (CE) doesn't work since upgrading to 10.3.x
Automatic issue closing in same repository in CE stopped working after upgrading to 10.3.x. Tested in 10.3.4 and 10.3.7. Unclosed Issue can be related to one, or more than one, merge request. Tested with different group/repos with the same results each time, which is that the related issue does not get closed automatically. Tried with Fixes
, Fixed
, Close
, Closes
followed by related issue number.
Steps to reproduce
-
Merge request ex:
https://gitlab.domain.com/groupA/reposA/merge_requests/111
to Branch 1.0 -
Issue ex:
https://gitlab.domain.com/groupA/reposA/issues/1111
-
Add text
Fixes #1111
to top of text for Merge request 111 -
Click on
Close merge request
-
Goto issue and see
1 Related Merge Request !111 (merged) Title of Merge Request 111 [Merge] <-- This is in blue with white text
-
Issue 1111 is still open.
-
Need to manually close issue
Other information
-
The automatic closing line in the config has always been, and is now, commented out:
# issue_closing_pattern: '((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?|[Rr]esolv(?:e[sd]?|ing)|[Ii]mplement(?:s|ed|ing)?)(:?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +a
nd +)?)|([A-Z][A-Z0-9_]+-\d+))+)'
- No errors when running Gitlab check.
- No errors apparent in /home/git/gitlab/log/production.log
- Possible related #39146 (moved) ?
Did we miss a new configuration settings somewhere or is this a bug?