dereuromark/jira-api-restclient

Jira REST API Client

Maintainers

Package info

github.com/dereuromark/jira-api-restclient

pkg:composer/dereuromark/jira-api-restclient

Statistics

Installs: 20 326

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

1.1.0 2022-10-06 12:01 UTC

This package is auto-updated.

Last update: 2026-03-06 21:03:08 UTC


README

CI PHPStan Latest Stable Version Minimum PHP Version License

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 Jira\Api;
use Jira\Api\Authentication\Basic;
use 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 dereuromark/jira-api-restclient

Requirements

License

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