drichardson / youtrack

YouTrack REST client for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YouTrack for Go

GoDoc Build Status

Bare bones YouTrack REST API client library for Go that provides authentication using Permanent Token Authorization.

The youtrack.Api type provides methods for making authenticated HTTP GET and POST requests to the YouTrack REST API.

There are also some convenience functions for creating issues.

Contributions welcome.

Testing

The tests communicate with an actual YouTrack endpoint and therefore need credentials to run. You can set these with the YOUTRACK_URL and YOUTRACK_TOKEN environment variables. The YouTrack project must have at least one project with the ID (aka issue prefix or shortName) of TP.

To debug HTTP requests, run:

go test -v -yt-trace

WARNING: -yt-trace logs the entire HTTP request, including Authorization token, so take care when using it or sharing any logs generated from it.

About

YouTrack REST client for Go

License:The Unlicense


Languages

Language:Go 100.0%