https://github.com/technodelight/php-jira-client
PHP Jira client
https://github.com/technodelight/php-jira-client
Last synced: 11 months ago
JSON representation
PHP Jira client
- Host: GitHub
- URL: https://github.com/technodelight/php-jira-client
- Owner: technodelight
- License: gpl-3.0
- Created: 2020-12-29T14:01:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T10:30:55.000Z (over 5 years ago)
- Last Synced: 2025-05-20T02:50:44.800Z (about 1 year ago)
- Language: PHP
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Jira Client
Unofficial client for Atlassian Jira, through REST API.
# Usage
```php
use Technodelight\Jira\Domain\Issue\IssueKey;
use Technodelight\JiraRestApi\Api;
use Technodelight\JiraRestApi\HttpClient;
use Technodelight\JiraRestApi\HttpClient\Config;
class MyConfig implements Config
{
public function username() {
return 'test';
}
public function password() {
return 'api key from jira instance';
}
public function domain() {
return 'myinstance.atlassian.net';
}
}
$client = new Api(new HttpClient(new MyConfig()));
$issue = $client->retrieveIssue(IssueKey::fromString('TEST-123'));
print $issue->assignee() . PHP_EOL;
```
# License
GNU GPLv3
Copyright (c) 2015-2019 Zsolt Gál
See LICENSE.