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-12-17 08:37:42 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