alexkovalevych/jira-api

1.0.7 2015-09-29 20:57 UTC

README

Build status

Create a client providing your jira api url, username and password:

$client = new IssueClient('https://myproject.atlassian.com/rest/api/latest', 'login', 'password');

Now you're able to run api requests with that client:

$issue = json_decode($client->get($issueId))->getBody()->getContents());

And don't forget about error handling (check guzzle documentation about more information):

try {
    $response = $client->getIssue($issueId);
} catch (RequestException $e) {
    ...
}

Supported clients

  • Issue
  • Workflow
  • Project

TODO

  • Cover more api endpoints