| Item | Description |
|---|---|
| Issue | This read-only field shows an 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:
Tip Please, refer to Regular Expressions Syntax Reference for details on using special characters in regular expressions. |
![]() | 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 our bug tracking system YouTrack .
In the dialog box that is opened, 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. |
Example
The example shows how WebStorm applies the above rules to detect a reference to an issue in a commit message and compose a link to it in the tracking system.
| Issue ID pattern |
The regular expression that defines the format in which issues are referenced in commit messages.
[A-Z]+\-\d+
|
| 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
|
| Matching issue ID |
WebStorm 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
|




.
In the dialog box that is opened, specify the URL to your YouTrack installation.
The regular expression that defines the pattern is added automatically.
