IntelliJ IDEA 2020.3 Help

VCS integration with issue trackers

With IntelliJ IDEA, you can connect your commit messages with a bug tracker or an issues data base, and navigate from commits in your VCS log to issues related to these commits.

Example

Issue ID pattern

The regular expression that defines the format in which issues are referenced in commit messages.

[A-Z]+\-\d+

This regular expressions matches all character strings that consist of two substrings separated by an n-dash character:

  1. Substring 1: An unlimited number of upper case alphabetic characters.

  2. Substring 2: An unlimited number of digital characters.

Issue link pattern

A combination of the URL address of your issue tracking system and a regular expression that identifies issues in it.

http://mytracker/issue/$0

Here $0 indicates a back reference to the entire match. This means that as soon as IntelliJ IDEA detects a match in a commit message, it is added to the URL address of the tracker as is.

Matching issue ID

IntelliJ IDEA detects the following reference to an issue in the commit message of interest:

MYPROJECT-110

Composed issue link

In accordance with the above issue navigation pattern, the detected matching reference is added to the URL of the tracker as is, so the link to the referenced issue is composed as follows:

http://mytracker/issue/MYPROJECT-110

Last modified: 19 August 2020