mmilo
mmilo

Reputation: 806

Gitlab and Redmine -

I'm looking to get Redmine integration with Gitlab 6.0 working.

gitlab.yml:

    issues_tracker:
       redmine:

        project_url: "http://issues.myserver.com/projects/:issues_tracker_id"
        issues_url: "http://issues.myserver.com/issues/:id"
        new_issue_url: "http://issues.myserver.com/projects/:issues_tracker_id/issues/new"

However, I run into problems and get the following below:

If I comment out issues_url and new_issue_url, Gitlab works, but the Gitlab continues to use the "base" issue tracker.

In gitlab.yml, redmine: has no effect.

Any suggestions?

Upvotes: 2

Views: 9863

Answers (2)

bigeagle
bigeagle

Reputation: 144

I've met this situation, too. I guess you have set something related to issue system before correcting your config file. Fixing configuration file doesn't fix everything, u need to fix mysql, too.

use gitlab;
update projects set issues_tracker="gitlab" where issues_tracker != "gitlab";

that should work.

Upvotes: 0

Zzet
Zzet

Reputation: 96

It's correct configuration:

  ## External issues trackers
  issues_tracker:
    redmine:
      project_url: "http://domain.com/projects/:issues_tracker_id"
      issues_url: "http://domain.com/issues/:id"
      new_issue_url: "http://domain.com/projects/:issues_tracker_id/issues/new"

If you show a copy-paste code part from your config - I can imagine that you misjudge the gaps (not erased once before redmine:)

Upvotes: 1

Related Questions