Skip to content
php JIRA REST API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Fixing CS violations in example code (#144) Sep 8, 2016
src/Jira
tests Tests field auto-mapping Feb 8, 2018
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md Documentation fixes (#186) Feb 14, 2019
CONTRIBUTING.md Documentation fixes (#186) Feb 14, 2019
LICENSE.md
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

JIRA REST API Client

Build Status

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 expirience 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.

You can’t perform that action at this time.