Since I install Gitlab via omnibus, I can’t made gitlab_issue_closing_pattern work.
First, I’ve added this conf to gitlab.rb in a wrong way (issue_closing_pattern instead gitlab_issue_closing_pattern). After fix this (with this valuable help), I run reconfigure, and gitlab.yml was updated.
Now, no matter what expression I use (Fix, Fixes, Encerra, Corrige), the issues never close. Only the “mentioned in commit” appears.
There’s something more I need to do? Or how is the right way to start searching the problem?
After a lot of searches, I still can’t make this work. If somebody can help me to find the solution (what logs I need to see? What type of information I need to look?), I really appreciate.
I think there was introduced a feature where you can close multiple issues, perhaps it parses differently. With your regex it didn’t work. I then took the regex from the gitlab.yml.example, I adapted your words, finally tested with Corrige #1 and it worked as expected. Here’s the regex: