-
Notifications
You must be signed in to change notification settings - Fork 12
Jump to Issue Tracker
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 Jira.
All our teams follow a convention of prefixing each commit message with a reference to the Jira issue. Because of this 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.
The settings that do the trick where I work are:
| Setting | Value |
|---|---|
| Issue ID | [A-Z]+-\d |
| Issue link | https:///browse/$0 |
Note: Rubymine has built in support for connecting to Jira. Click the button to the right of the plus sign. The tooltip is Add Jira Pattern.
If you are successful you should see links when you show the commit history for a file.
![]()
More settings that do the trick where I work are:
| Setting | Value |
|---|---|
| Issue ID | ^#?([0-9a-zA-Z]*)\b -.+ |
| Issue link | https://trello.com/c/$1/ |