YouTrack API PHP
This is an implementation for communicating with the JetBrains YouTrack RestAPI. This library covers basic resource calls available in the YouTrack RestAPI docs. Using this library, you can create, update, delete issues in your YouTrack instance.
Disclaimer
YouTrack is a very customizable issue tracking system. This library will likely not function if you have customized your fields in your YouTrack instance. In order to make use of this library, you may have to fork this project and make adjustments to the Repository classes accordingly.
Features
- Create issues
- Update issues
- Delete issues
- Add time spent to issues
- List projects
To-do
- The time tracking repository has a 'type' of a time spent hard-coded. There needs to be a method that can list all available 'types' for specifying time spent.
Requirements
The YouTrack Rest API library requires the following in order to work properly:
Installation
composer require samihsoylu/youtrack-api-php
How to use?
Please look inside the examples/ directory for more information on how to use the api client.
This library has been tested in a YouTrack instance that has the following fields: Priority, Type, Assignee, State, and Estimation. These field names must exist in your YouTrack project for this library to work out of the box.