alexkovalevych/jira-api

Jira api php library

1.0.7 2015-09-29 20:57 UTC

This package is not auto-updated.

Last update: 2024-04-23 05:33:11 UTC


README

Build status

Usage

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