A high-level client for interacting with JIRA Server Rest API. Currently only supports Worklogs
You can install the package via composer:
composer require amayamedia/jira-rest-client
$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
]);
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email rene@amayamedia.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.