abul / jira-php-client
A PHP library making interaction with JIRA simpler.
0.3
2019-08-16 11:08 UTC
Requires
- php: >=5.6.0
- ext-json: *
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2025-03-19 23:46:08 UTC
README
JIRA supports REST API, It can be very useful, for example, during automation job creation and notification sending.
Usage
- JIRA Rest API Documents: https://docs.atlassian.com/jira/REST/latest/
<?php use Jira\Client; use Jira\Authentication\BasicAuthenticationService $api = new Client( 'https://your-jira-project.net', new BasicAuthenticationService('yourname', 'password') ); $issues = $api->get('issue')->search('project = "YOURPROJECT" AND (status != "closed" AND status != "resolved") ORDER BY priority DESC'); foreach ( $issues as $issue ) { var_dump($issue); }
Installation
php composer.phar require abul/jira-php-client ^0.1@dev
Requirements
License
JIRA PHP Client is released under the MIT License. See the bundled LICENSE file for details.