Can't close issues from another project
Summary
Can't close issues from another project.
Steps to reproduce
(inside the same team)
- create issue in project A
- open a Merge Request inside project B referencing the issue created in Project A (eg:
closes: project-a#193
) - accepting this merge request will not close project A issue
Example Project
It's working as expected in gitlab.com:
- Example issue: https://gitlab.com/wedneyyuri/project-a/issues/1
- Example merge request: https://gitlab.com/wedneyyuri/project-b/merge_requests/1
What is the current bug behavior?
The merge request is accepted but the issue is not closed.
What is the expected correct behavior?
The merge request is accepted and the issue is closed.
Relevant logs and/or screenshots
Merge request
Issue
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System:
Current User: git Using RVM: no Ruby Version: 2.3.7p456 Gem Version: 2.5.2.3 Bundler Version:1.16.1 Rake Version: 12.3.0 Redis Version: 3.0.6 Git Version: 2.17.0 Sidekiq Version:5.0.5 Go Version: unknownGitLab information Version: 10.7.3 Revision: 2555d6c Directory: /home/git/gitlab DB Adapter: postgresql URL: http://staging-gitlab.example.io HTTP Clone URL: http://staging-gitlab.example.io/some-group/some-project.git SSH Clone URL: git@staging-gitlab.example.io:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 7.1.2
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)