Use this dialog to create a list of the so-called issue navigation patterns. An issue navigation pattern maps an issue ID pattern in commit messages with the URL addresses of the referenced issues. This enables you to navigate from committed changes to issues related to these changes. As soon as PhpStorm encounters a match to the issue ID pattern in a commit message, the match is displayed as a link in the Version Control tool window. If you mention several issues, all of them will be displayed as links. Clicking such link opens the matching issue in the default browser.
|Issue||This read-only field shows the issue pattern.|
|Link||This read-only field shows the link to navigate from the issue pattern in the current row to the issue in the bug tracking system.|
|Click this button to create a new issue navigation pattern and link. The Add Issue Navigation Link dialog box opens where you can specify:|
|Click this button to create a new JIRA pattern. The Create JIRA Issue Navigation Pattern dialog box is opened where you can specify the URL to your JIRA installation. The regular expression that defines the pattern is added automatically.|
|Click this button to create a new pattern for YouTrack. In the dialog box that opens, specify the URL to your YouTrack installation. The regular expression that defines the pattern is added automatically.|
|Click this button to update the selected issue navigation link.|
|Click this button to remove the selected issue navigation link from the list.|
The example below shows how PhpStorm applies the abovementioned rules to detect a reference to an issue in a commit message and compose a link to it in the issue tracking system.