amayamedia / jira-rest-client
A simple client to communicate with JIRA Server
0.2.2-rc1
2023-01-14 21:51 UTC
Requires
- php: ^7.4|^8.0
- illuminate/support: ^8.0
- netresearch/jsonmapper: ^4.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
A high-level client for interacting with JIRA Server Rest API. Currently only supports Worklogs
Installation
You can install the package via composer:
composer require amayamedia/jira-rest-client
Usage
$authClient = new AuthService('https://example.com/api/auth'); $issueService = new IssueService(); $issueService->useAuth($authClient); // Get Worklogs for an issue $issue = $issueService->getWorklog('TEST-1'); // Add a Worklog to an Issue $issueService->addWorklog('TEST-1', [ 'comment' => 'I did some work', 'timeSpentSeconds' => 12000 ]);
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email rene@amayamedia.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.