Skip to content

c3limited/jira-api-restclient

This branch is 1 commit ahead of, 86 commits behind console-helpers/jira-api-restclient:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 8, 2016
Oct 17, 2017
Nov 16, 2016
Jun 28, 2016
Sep 13, 2017
Nov 16, 2016
Aug 18, 2016
May 22, 2016
Aug 12, 2016
Aug 18, 2016
Aug 18, 2016
Jul 3, 2016

Repository files navigation

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.

Packages

No packages published

Languages

  • PHP 100.0%