How to close redmine issue via gitlab commit

issues
redmine

#1

I have setup redmine integration in gitlab CE as mentioned in the [https://docs.gitlab.com/ee/user/project/integrations/redmine.html]

I have searched all the docs and blogs but coudn’t get through. I can only replicate the issue id in commit tag which is redirecting to redmine issue details. I want to close the redmine issue using gitlab commit Ex: git commit “close #10”, should close redmine issue #10.