Skip to content

Work repository for new youtrack api with enhanced functionality

License

Notifications You must be signed in to change notification settings

romanb52/go-youtrackApi2023

Repository files navigation

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.

Originally from https://github.com/drichardson/youtrack

About

Work repository for new youtrack api with enhanced functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages