External issue tracker error

I have Redmine and GitLab (Omnibus) on the same machine. In GitLab there is a Redmine integration configured and activated in my project.

It worked well a week or two ago, but after some of the latest updates, when I navigate to issue board, it does not open Redmine webpage. Instead of it, GitLab issue board is displayed (empty). Moreover, the #123 markdown links to related issues do not work any more.

I tried to configure Redmine as a simple Custom Issue Tracker, but it does not work too.

@goto1134 can you provide logs during a reproduction of this issue? Might be something that eventually needs to be brought to Support’s attention.

J

@jamesmundia Here is what appears in production log when I go to issue board.

{"method":"GET","path":"/Group/project/issues","format":"html","controller":"Projects::IssuesController","action":"index","status":200,"duration":122.31,"view":102.35,"db":4.22,"time":"2017-09-15T10:32:42.425Z","params":{"namespace_id":"Group","project_id":"project"},"remote
_ip":"192.168.2.86","user_id":1,"username":"goto1134"}

When I test redmine integration there is this log:

{"method":"GET","path":"/Group/project/settings/integrations","format":"html","controller":"Projects::Settings::IntegrationsController","action":"show","status":200,"duration":161.12,"view":119.01,"db":5.0,"time":"2017-09-15T10:40:19.351Z","params":{"namespace_id":"Group",
"project_id":"project"},"remote_ip":"192.168.2.86","user_id":1,"username":"goto1134"}
{"method":"GET","path":"/Group/project/services/redmine/edit","format":"html","controller":"Projects::ServicesController","action":"edit","status":200,"duration":237.41,"view":187.42,"db":6.44,"time":"2017-09-15T10:40:29.353Z","params":{"namespace_id":"Group","project_id":
"project","id":"redmine"},"remote_ip":"192.168.2.86","user_id":1,"username":"goto1134"}
{"method":"PUT","path":"/Group/project/services/redmine/test","format":"*/*","controller":"Projects::ServicesController","action":"test","status":200,"duration":308.28,"view":0.2,"db":7.14,"time":"2017-09-15T10:40:31.778Z","params":{"utf8":"✓","_method":"put","authenticity
_token":"[FILTERED]","service":{"active":"1","push_events":"1","description":"Redmine issue tracker","project_url":"http://redmine.custom-domain.com/projects/l","issues_url":"http://redmine.custom-domain.com/issues/:id","new_issue_url":"http://redmine.custom-domain.com/projects/l/is
sues/new"},"namespace_id":"Group","project_id":"project","id":"redmine"},"remote_ip":"192.168.2.86","user_id":1,"username":"goto1134"}
{"method":"PUT","path":"/Group/project/services/redmine","format":"html","controller":"Projects::ServicesController","action":"update","status":302,"duration":68.92,"view":0.0,"db":14.95,"location":"http://gitlab.custom-domain.com/Group/project/settings/integrations","time":"201
7-09-15T10:40:32.122Z","params":{"utf8":"✓","_method":"put","authenticity_token":"[FILTERED]","service":{"active":"1","push_events":"1","description":"Redmine issue tracker","project_url":"http://redmine.custom-domain.com/projects/l","issues_url":"http://redmine.aamsystems.r
u/issues/:id","new_issue_url":"http://redmine.custom-domain.com/projects/l/issues/new"},"namespace_id":"Group","project_id":"project","id":"redmine"},"remote_ip":"192.168.2.86","user_id":1,"username":"goto1134"}
{"method":"GET","path":"/Group/project/settings/integrations","format":"html","controller":"Projects::Settings::IntegrationsController","action":"show","status":200,"duration":160.05,"view":115.71,"db":5.45,"time":"2017-09-15T10:40:32.213Z","params":{"namespace_id":"Group"
,"project_id":"project"},"remote_ip":"192.168.2.86","user_id":1,"username":"goto1134"}
{"method":"GET","path":"/explore","format":"html","controller":"Explore::ProjectsController","action":"trending","status":200,"duration":17.48,"view":11.1,"db":0.72,"time":"2017-09-15T10:40:33.559Z","params":{"sort":"created_desc"},"remote_ip":"65.208.151.118","user_id":
null,"username":null}

I also have this log repeating:

{"method":"GET","path":"/-/metrics","format":"html","controller":"MetricsController","action":"index","status":404,"duration":1.69,"view":0.56,"db":0.0,"time":"2017-09-15T10:34:04.274Z","params":{},"remote_ip":null,"user_id":null,"username":null}

It looks like the behavior was intentionally changed recently: https://gitlab.com/gitlab-org/gitlab-ce/commit/6774a0378d624fafbd287ce4adcee3787106f1b9

The Issues tab will always open the internal tracker now, i.e. no more redirecting to an external tracker.

Thank you, @ryehle . I disabled internal issue tracker and it helped for commit messages. But links from MR are still plain text and do not refer to redmine.

Interesting finds - so this is now a by design thing or something that we should report?

I think, it should be reported