Integration with Yandex Tracker
Integration with Yandex Tracker allows you to configure automatic sending of comments to a task if it is mentioned in a commit or merge request. Additionally, the integration can automatically change the status of the mentioned task.
Creating an Integration with Yandex Tracker
To create an integration, you need to go to the project settings in the Integrations section and click the Create button next to the Yandex Tracker integration.
Establishing a Connection
- Web Page URL - The URL where Yandex Tracker is accessible. By default, it has the value
https://api.tracker.yandex.net/
- Oauth debug token Yandex Tracker - A temporary access token created in the developer interface.
- X-Cloud-Org-ID of the organization - The unique identifier of the organization (cloud) in Yandex Cloud.
There is a corresponding button to test the established connection
Triggers
This section selects the events - a commit or a merge request - after which the integration triggers. For the integration to work, you can mention a task either as a full link (e.g., https://tracker.yandex.ru/GIT-1
) or just by its prefix (e.g., GIT-1
). Tasks can be mentioned in a merge request's title or description. Furthermore, the integration will react to changes in the merge request status.
Configuring actions - creating a comment or changing the task status - also happens here.
-
Enable Comments. The integration will automatically create a comment in the task describing the event where the task was mentioned. Options Standard Comments and Extended Comments are available to choose the level of detail for the comment.
-
Move Yandex Tracker Tasks to Their Final State. TThe integration will automatically transfer the task status to the final one after completing the merge request that mentions the task. To change the status, add "Closes
" in the request description. Instead of , you must specify a task number that matches the regular expression specified in the Prefix for issues in Yandex Tracker field. To change the status of several tasks, add the specified row for each task separately. The Final State ID setting allows you to specify a specific status ID. -
Resolution for Closing a Yandex Tracker Task. Allows you to specify a resolution for closing the task.
Mapping Tasks in Yandex Tracker
To limit the list of tasks whose mention will trigger the integration, use the following settings:
-
Regular Expression for Yandex Tracker Tasks. Matching Yandex Tracker task keys with regular expressions conforming to RE2 syntax.
-
Prefix for Yandex Tracker Issues. A mandatory field where you must specify the prefix of Yandex Tracker tasks. Mentioning tasks with this prefix in commits or merge requests will trigger the integration (e.g.,
GIT#
).
Limit on the Number of Integrations
The maximum number of integrations per project is 1
Example of Integration Workflow
Attention!
Automated translation!
This page was translated using automatic translation tools. The text may contain inaccuracies.