Disable gitlab auto close my referenced issues
We are using gitlab to manage our code, when I create merge request and related the merge request with the issue number, but after the…
We are using gitlab to manage our code, when I create merge request and related the merge request with the issue number, but after the merge request was merged, the issue was also be closed.
I don’t know why the issue was closed, and finding that it was caused by the auto closing rules, the detail about the auto closing is at this link: Automatic issue closing
This translates to the following keywords:
Close, Closes, Closed, Closing, close, closes, closed, closing
Fix, Fixes, Fixed, Fixing, fix, fixes, fixed, fixing
Resolve, Resolves, Resolved, Resolving, resolve, resolves, resolved, resolving
Implement, Implements, Implemented, Implementing, implement, implements, implemented, implementing
So the issue was closed because I aded the fixed
on my commit message.
Disable automatic issue closing
I don’t want to auto close the issue when I relate it with the issue, because the QA team need to verify the issue, here is how to disable it.
To disable automatic issue closing:
On the top bar, select Menu > Projects and find your project.
On the left sidebar, select Settings > Repository.
Expand Default branch.
Select Auto-close referenced issues on default branch.
Select Save changes.