YouTrack¶
You can import tasks from your YouTrack instance using
the youtrack service name.
Example Service¶
Here’s an example of a YouTrack target:
[my_issue_tracker]
service = "youtrack"
host = "youtrack.example.com"
login = "turing"
token = "perm:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
[my_issue_tracker]
service = youtrack
youtrack.host = youtrack.example.com
youtrack.login = turing
youtrack.token = perm:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The above example is the minimum required to import issues from YouTrack. You can also feel free to use any of the configuration options described in Common Service Configuration Options or described in Service Features below.
Service Features¶
Token¶
To access the YouTrack rest api, you need a permanent token.
Unauthenticated¶
While the login and password fields are still required, bugwarrior
will not log in to the service if you set:
anonymous = true
youtrack.anonymous = True
Note
This makes no attempt at IP obfuscation.
Customize the YouTrack Connection¶
The host field is used to construct a URL for
the YouTrack server. It defaults to a secure connection scheme (HTTPS)
on the standard port (443).
To connect on a different port, set:
port = 8443
youtrack.port = 8443
If your YouTrack instance is only available over HTTP, set:
use_https = false
youtrack.use_https = False
If you want to ignore verifying the SSL certificate, set:
verify_ssl = false
youtrack.verify_ssl = False
For YouTrack InCloud instances set:
incloud_instance = true
youtrack.incloud_instance = True
Specify the Query to Use for Gathering Issues¶
The default option selects unresolved issues assigned to the login user:
query = "for:me #Unresolved"
youtrack.query = for:me #Unresolved
Reference the YouTrack Search Query Grammar for additional examples.
Queries are capped at 100 max results by default, but may be adjusted to meet your needs:
query_limit = 100
youtrack.query_limit = 100
Provided UDA Fields¶
Field Name |
Description |
Type |
|---|---|---|
youtrackissue |
YouTrack Issue |
Text (string) |
youtracknumber |
YouTrack Project Issue Number |
Text (string) |
youtrackproject |
YouTrack Project |
Text (string) |
youtracksummary |
YouTrack Summary |
Text (string) |
youtrackurl |
YouTrack URL |
Text (string) |