Closing an issue from another issue with cross-references (closes group/project#issue)
Description
In our team we would like to be able to cross-reference issues from other projects to be closed automatically. When working with submodules, users may create an issue in the superproject. But to create a feature branch in the right repository, the issue have to be in the submodule repository.
One solution can be to use the "move issue feature" (See references). This will cause, that the issue is copied to the other repository and the origin repository is closed.
But sometimes, you just want to keep the origin issue for tracking, referencing to the new issue that is derived by the origin parent issue. And if the child issue is closed, then the orogin issue should be closed as well.
I thought that would be possible by using the "closes" command in the issue. But that does not seem to work
In the documentation it seems that this is only possible within merger requests and commits. Is this right? (see references)
Proposal
Closing issues from other issues by using cross-references when parent issue is closed. Enable closing issue feature within issues, not only for merge requests and commits.
Links / references
- Moving Issues Documentation
- GitLab Tutorial It's all connected
- Automatic Issue Closing Doc
- Closing Issues Doc
Use cases
Users that are working with submodules and want to keep tracking of the issues and using the branch creation feature of gitlab
Feature checklist
-
Enable closing issue feature within issues, not only for merge requests and commits -
Documentation