Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I thought this would be easy, but its been sort of a disaster. I want to set up a bug tracker that integrates with source control. At a minimum, when you commit to source control, it should notify the issue tracker and if the comment is set up correctly, push a commit reference to the issue tracker, so you can navigate back and see what happened.

This works very well with github using its integrated issue tracker, but this requires github as the place where the source goes, and the issue tracker is VERY basic (which is good and bad). We work with multiple clients, and about 50% use SVN. We could do round trips to github, but that's a mess.

I tried Jira, multiple times, using their ondemand service. It was a huge waste of time. They integrate subversion, and everything else feels like its taped on after the fact. Documentation and everything else is comically bad. I still haven't gotten github to work with Jira, after multiple attempts, and the setup seems to be OK, but nothing ever comes over.

Tried FogBugz, but that seems to include its own source control. Can't connect to outside repos.

Tried for redmine. You can have subversion or git, which was very exciting, till I found out you can have either, but THEY host them, which totally doesn't work.

Ideally I'd like Jira, or something similar, able to point at outside repos.

Also looked at youtrack, and although it seems to mention github integration, from the demo it looks like it doesn't hook back into the repo on commits. They also have a link for hosted Youtrack, but when you get there its no longer live. Would download/install locally if I thought it would solve the problem, but I'd rather not go through that exercise without knowing if it has the features I need first.

I'd also like some code review features, but we'll just start with issues hooked into source control.

Thanks in advance.

share|improve this question

closed as off-topic by gnat, GlenH7, MichaelT, Kilian Foth, World Engineer Jul 28 '13 at 20:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, GlenH7, MichaelT, Kilian Foth, World Engineer
If this question can be reworded to fit the rules in the help center, please edit the question.

FogBugz seems to support connection to outside repos : . Or is it too limited for your use cases ? – Matthieu Dec 7 '11 at 22:06
redmine has a subversion hook. – Steve Dec 8 '11 at 0:45
@Matthieu, right now that looks like the winner. Got github to play nice. The subversion setup looks like a bear. Would have to nudge clients to put the server hooks in there, but I guess its a best efforts situation (and its to their benefit). – Kevin Galligan Dec 8 '11 at 1:15
In the meantime a new solution was developed: – mrnx Aug 6 '14 at 14:14

9 Answers 9

up vote 7 down vote accepted

FogBugz does support integration with other repositories (CVS, SVN, SourceSafe, Perforce, Vault, Mercurial, TFS) than Kiln as explained here.

share|improve this answer
Strange that they don't have Git as a top level option, but it does work. – Kevin Galligan Dec 8 '11 at 1:32

Tried for redmine.

I have no idea what is, but Redmine all by itself can do it!!!

First you'll need to have the repository tab enabled on your project, and pointing to the correct repo.

Then you'll need to put a post-commit hook (or post push-hook) into whatever your SCM is (I'm assuming it's SVN or GIT), that will trigger Redmine to update it's repository references.

This hook should run

ruby redmine script/runner "Repository.fetch_changesets" -e production

Or, if your Redmine is configured properly, the script can just hit a URL

wget -O - > /dev/null

Once the fetch_changesets task runs, your commit messages (if they reference an issue number) will show up on a ticket. You can even configure Redmine to look for words like 'closes' in a commit message and automatically mark a ticket as resolved.

See this for more info.

share|improve this answer

With SVN, I've had good experiences with TRAC - putting #issue-number in commit comments links commits to issues.

share|improve this answer
My work does this with hg and git. – Frank Shearar Dec 7 '11 at 22:22
I can highly recommend Trac, I really love the integrated repo browser. You can link easily to revisions, files, or even a certain line in a file from both tickets and the integrated wiki. – Simon Feb 10 '12 at 18:33
While Trac is fine, I found Redmine much easier to set up under both Windows and Linux. – WCWedin Nov 5 '12 at 16:05

Fossil is a source control tool comparable to Mercurial or Git but is focused on "everything in one binary". It provide a bug tracker, a wiki, a forum and other tools all embedded inside the repository.

They admit themselves that git (or mercurial or bazaar) should be used for more big scope project than the kind of project, but it's still very useful for projects in minimal scope context, like a little team that just want to work together with a bug tracker without a need for installing a server.

share|improve this answer

Have a look at I use it, i like it and most of the things you want is included.

  • Push every commit to your own /backup repository
  • Commit Ticket interoperabilty (modifying tickets with commits)
  • Multiple Repos per Project
share|improve this answer
lol 35 seconds late ... :) – Manuel Schmidt Dec 7 '11 at 21:52
Looks like they're hosting the repos. The repos I'm using will be hosted elsewhere (various external subversion repos and all git at github). Does it also work in that kind of situation? As far as I can tell, I'd need to somehow sync the externals with the codebase ones, which sort of defeats the purpose. – Kevin Galligan Dec 7 '11 at 21:57
I know that you can push commits pushed to codebase to any other git repo. But as you said, they are (and i gues you have to) host them with codebase. – Manuel Schmidt Dec 7 '11 at 22:01
You could switch from github to codebase. I did so because of the superior tracker and time tracking capabilties of codebase. They even have a deploy service: – Manuel Schmidt Dec 7 '11 at 22:05
We're a mostly consulting shop, and most clients have their own source control. Out of my hands. If I'm going to do round-trip syncing, I'd probably just do all of it through github, although its probably much easier to do svn to svn rather than svn to git, which would be a major plus for codebase. However, github's visual source viewer/comment tool is really great. Issue tracker is very basic, but good enough for us. – Kevin Galligan Dec 8 '11 at 0:42

Have a look at Codebase :

Repository Hosting
Push your Git, HG or SVN repository directly into CodebaseHQ, browse syntax-highlighted code and changesets from your browser.

Complete Ticketing
Easily manage all your tickets for bugs, tasks & enhancements with full history tracking, milestones, attachments and more.

Project Wikis & Time Tracking
Setup a complete Markdown or Textile wiki for each of your projects and easily keep track of your team's time.

share|improve this answer

Mantis does this with a little configuration. I set up a svn hook (check my answer on SO for the config) so that checkins with a comment of "fixed bug #123" would change the status of bug 123 to 'resolved', and include the list of all files that were changed and the rest of the comment. It worked beautifully so I thoroughly recommend this approach to everyone.

If not, you could always try redmine which does this out of the box for many different scms.

share|improve this answer

Have you tried bitbucket?

It integrates with jira and commits to svn nicely.

I don't have any experience with this though. Just thought i'd provide you another suggestion. We use this for our source control repository sans jira.

share|improve this answer

TFS does it all for you, but its pretty much limited to MS languages

share|improve this answer
Changing revision control systems doesn't seem to be an option. – Matthieu Dec 7 '11 at 22:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.