chobie/jira-api-restclient

JIRA REST API Client

Package info

github.com/console-helpers/jira-api-restclient

pkg:composer/chobie/jira-api-restclient

Statistics

Installs: 731 738

Dependents: 19

Suggesters: 0

Stars: 217

Open Issues: 45

v2.0.0-B1 2025-01-04 19:56 UTC

Requires

  • php: >=5.6.0

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 236316db990dd28818439825367f3beb9835d066

restapijira

This package is auto-updated.

Last update: 2026-06-19 11:07:13 UTC


README

👁 CI
👁 codecov

You all know that Jira supports REST API, right? It can be very useful, for example, during automation job creation and notification sending.

This library will ensure unforgettable experience when working with Jira through REST API. Hope you'll enjoy it.

Usage

<?php
use chobie\Jira\Api;
use chobie\Jira\Api\Authentication\Basic;
use chobie\Jira\Issues\Walker;

$api = new Api(
 'https://your-jira-project.net',
 new Basic('yourname', 'password')
);

$walker = new Walker($api);
$walker->push(
	'project = "YOURPROJECT" AND (status != "closed" AND status != "resolved") ORDER BY priority DESC'
);

foreach ( $walker as $issue ) {
 var_dump($issue);
 // Send custom notification here.
}

Installation

php composer.phar require chobie/jira-api-restclient ^2.0@dev

Requirements

License

Jira REST API Client is released under the MIT License. See the bundled LICENSE file for details.