Skip to content

Jump to Issue Tracker

Alistair McKinnell edited this page Jul 29, 2015 · 23 revisions

Rationale

Tweak your configuration so that you can jump from a commit message to your issue tracker. I will show the configuration for jumping to Mingle.

All our teams follow a convention of prefixing each commit message with a reference to the Mingle issue. Because of that convention, we can configure RubyMine to jump directly to the issue.

Mechanism

Preferences > Version Control > Issue Navigation and Add (using the '+' button)

In the Add Issue Navigation Link dialog specify the Issue ID regular expression and the replacement text. You can test out your regular expression by entering a sample Issue ID.

Add Issue Navigation Link

The settings that do the trick where I work are:

Setting Value
Issue ID (regular expression) ^#(\d+).*
Issue link (replacement expression) http://mingle.hq.nulogy.com/projects/packmanager/cards/$1

If you are successful you should see links when you show the commit history for a file.

Clone this wiki locally