All procedures are performed within IDE, no additional configuration required on the YouTrack side.
Using Work Context
To use YouTrack integration for defining work context:
- Enable Task Management options in IDE, if they are not yet enabled.
- Open your project
- Open menu. Select Open Task.
- In the Open Task dialog window, click the Configure link to open Servers dialog.
- Click "+" button and select "YouTrack" in the appeared drop-down list.
- Type in your YouTrack server's parameters: URL and your login credentials.
- Click Test link to check connection to the server.
- If needed, click Commit Message to edit the default comment that should be added to commits.
- If everything good and connection test was successful, save configuration.
- Back in the Open Task dialog, start typing
issueIDfor the issue you are working on. If your configuration was correct, then the context search should be active while you're typing as well as completion.
When you select an issue as the Task, the context you're working in, then a new change list with the issue ID and summary as the name is automatically created.
While you are working within this task, context, all changes you've made are gathered in this auto-created change list.
Using Issue ID Patterns
Another function of the IDE-YouTrack integration, is the ability to specify issueID patterns in Settings,
that should be recognised and transformed into direct links to issues in the tracker.
Thus, specifying an issueID wherever in the IDE (change list, commit comment etc.) you will see the direct link to this issue in your tracker.
Please note that this option is configured on per-project basis — for each of your projects you should configure new set of patterns to be recognised.
To enable recognition of YouTrack issue IDs:
When pattern recognition is configured, then issue IDs will look as follows in your IDE: