Get Comment Templates
comment_templates_get_allRetrieve comment templates from Yandex Tracker, optionally filtered by queue, to use team-standard wording and mentions when replying to issues.
Instructions
Get the comment templates configured in Yandex Tracker. Templates hold the wording a team reuses when replying on issues, together with the users and mailing lists such a comment summons. Use this before adding a comment so it follows the team's current template instead of an invented one. Pass queue to get only the templates usable in that queue - the templates of that queue plus the ones not bound to any queue, which are usable everywhere. Every page is retrieved by default; pass page to get a single page when the result does not fit the context window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number to return, default is None which means to retrieve all pages. Specify page number to retrieve a specific page when context limit is reached. | |
| queue | No | Optional queue (Project ID) to scope the result to, like 'SOMEPROJECT'. Templates that are not bound to any queue are usable everywhere and are returned as well. | |
| per_page | No | The number of items per page. May be decreased if results exceed context window. If there is a change in per_page argument - retrieval must be started over with page = 1, as the paging could have changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | Total items matching the request, across all pages. Null if unknown or filtered - then page on until a page comes back empty. | |
| pages | No | Total pages at the requested `per_page`; this is the last page when it equals `page`. Null together with `hits`. | |
| values | No |