Technology moves fast! ⚡ Don't get left behind.🚶 Subscribe to our mailing list to keep up with latest and greatest in open source projects! 🏆


Subscribe to our mailing list

YouTrackSharp

.NET Standard 1.3 Library to access YouTrack API.

Subscribe to updates I use YouTrackSharp


Statistics on YouTrackSharp

Number of watchers on Github 89
Number of open issues 7
Main language C#
Average time to merge a PR 2 days
Open pull requests 7+
Closed pull requests 10+
Last commit over 1 year ago
Repo Created over 8 years ago
Repo Last Updated over 1 year ago
Size 28.3 MB
Homepage http://www.jetbra...
Organization / Authorjetbrains
Latest Release3.3.0
Contributors11
Page Updated
Do you use YouTrackSharp? Leave a review!
View open issues (7)
View YouTrackSharp activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating YouTrackSharp for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

official project

YouTrackSharp

YouTrackSharp

.NET Standard 1.3 Library to access YouTrack API.

For more information on YouTrack visit jetbrains.com/youtrack.

Getting started

First of all, install YouTrackSharp into your project using a NuGet client.

Install-Package YouTrackSharp

If you want to work with pre-release builds, configure our MyGet feed as a package source.

To communicate with a YouTrack server instance, we'll need a connection. It is recommended to always use permanent tokens to authenticate against YouTrack, using the BearerTokenConnection. For YouTrack instances that do not have token support, UsernamePasswordConnection can be used.

var connection = new BearerTokenConnection("https://ytsharp.myjetbrains.com/youtrack/", "perm:abcdefghijklmn");

// or:

var connection = new UsernamePasswordConnection("https://ytsharp.myjetbrains.com/youtrack/", "username", "password");

Once a connection is made, various services can be used. For example to get a list of projects the user has access to, the ProjectsService can be used:

var projectsService = connection.CreateProjectsService();
var projectsForCurrentUser = await projectsService.GetAccessibleProjects();

Other services are available as well, mapping to the YouTrack REST API endpoints and operations that are available.

Supported operations

YouTrackSharp is a .NET Library to access the YouTrack API. Main features:

  • Targets .NET Standard 1.3 - can be used with pretty much any .NET platform!
  • All calls are async all the way.
  • Handles serialization of YouTrack's timestamps into DateTime where possible.
  • Authentication using permanent tokens. For YouTrack instances that do not have token support, username/password can be used.
  • Comes with a color indices list.

The following API's are currently supported:

Many other API's are not included yet - feel free to tackle one of the UpForGrabs issues and make YouTrackSharp better!

Supported YouTrack versions

YouTrack versions 2017.x and higher as well as YouTrack InCloud are officially supported by this library.

Some features will work with older versions of YouTrack as well but they are not officially suppported. For other YouTrack versions:

Be aware that these older branches are frozen and bug fixes nor new feature development is done on them.

YouTrackSharp open pull requests (View All Pulls)
  • Add support for creating issue work items
  • Fix retrieving more than 10 users in all
  • Add Fix Version / Sprint
  • Issue management interface
  • Finish cmdlet implementation
  • Add group management
  • Added extended query options for looking up users
YouTrackSharp questions on Stackoverflow (View All Questions)
  • Create a new issue using YouTrackSharp
  • YouTrackSharp - EasyHttp Bad Request
YouTrackSharp list of languages used
YouTrackSharp latest release notes
3.3.0-beta-2 YouTrackSharp 3.3.0-beta-2

Features

  • Implement custom fields administration API #70
  • Implement Agile board API's #41 (get list of agile boards, get agile board, get sprint, create agile board) - thanks @nylchr!

Many other API's are not included yet - feel free to tackle one of the UpForGrabs issues and make YouTrackSharp better!

3.3.0-beta-1 YouTrackSharp 3.3.0-beta-1

Features

  • Implement custom fields administration API #70
  • Implement Agile board API's #41 (get list of agile boards, get agile board, get sprint) - thanks @nylchr!

Many other API's are not included yet - feel free to tackle one of the UpForGrabs issues and make YouTrackSharp better!

3.3.0 YouTrackSharp 3.3.0

Features

  • Implement custom fields administration API #70
  • Implement Agile board API's #41 - thanks @nylchr!

Enhancements

  • See previous releases

Bugfixes

  • See previous releases

Many other API's are not included yet - feel free to tackle one of the UpForGrabs issues and make YouTrackSharp better!

Other projects in C#