mx-bernhard / keypirinha-youtrack

Allows to query youtrack bugtrackers with live autocomplete of possible filter attributes.
MIT License
4 stars 0 forks source link

YouTrack plugin for Keypirinha

Changelog

Version 1.2

YouTrack API

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.

max_results support

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.

Installation

Configuration

[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

Features

Filter mode

Issues mode