This plugin has been using the YouTrack Legacy API since its first version. This API recently was disabled on current versions of YouTrack. The default API is now /api/...
instead of /rest/...
. A legacy_api
switch is available to go back to the old api in case the affected server is on an older version and does not have the newer api yet. The default for legacy_api
is False
.
It is now possible to restrict the amount of results per YouTrack server. If not supplied the max_results
configuration of Keypirinha is used. An information is displayed how many results came back from the YouTrack API. If the result exceeded the amount set by max_results
, this is also shown.
<Keypirinha root>\portable\Profile\Packages
youtrack.ini
by issuing Keypirinha: Configure Package: youtrack
[server/my-server1]
# youtrack base url
#base_url = https://youtrack.myserver1.com
# the token for auth - is required and starts with perm:
#api_token =
# displayed entry text
#issues_label = My bugtracker (issues)
# defaults to "youtrack"
#issues_icon = youtrack
# displayed entry text
#filter_label = My bugtracker (filter)
# defaults to "youtrack"
#filter_icon = youtrack
# is prefixed to the entered filter
# Note: you can add the same server twice but with a different filter
#filter =
# disables the automatic whitespace added after the prefix filter, defaults to False
#filter_dont_append_whitespace=False
# legacy api (available in versions before July 2021), defaults to False
#legacy_api = False
[server/my-server2]
# youtrack base url
#base_url = https://youtrack.myserver2.com
# the token for auth - is required and starts with perm:
#api_token =
# displayed entry text
#issues_label = My bugtracker (issues)
# defaults to "youtrack"
#issues_icon = youtrack
# displayed entry text
#filter_label = My bugtracker (filter)
# defaults to "youtrack"
#filter_icon = youtrack
# is prefixed to the entered filter
# Note: you can add the same server twice but with a different filter
#filter =
# disables the automatic whitespace added after the prefix filter, defaults to False
#filter_dont_append_whitespace=False
# legacy api (available in versions before July 2021), defaults to False
#legacy_api = False
filter
values that are prefixed to all queries. icon_
- in the example below ´test´ and ´xyz´ are valid identifiers in the ´youtrack.ini´:
|– youtrack.ini |– youtrack/ |– icon_test.png |– icon_xyz.png