chobie / jira-api-restclient
JIRA REST API Client
Installs: 668 835
Dependents: 19
Suggesters: 0
Security: 0
Stars: 218
Watchers: 22
Forks: 123
Open Issues: 51
Requires
- php: >=5.2.4
This package is not auto-updated.
Last update: 2024-11-12 19:48:36 UTC
README
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
- Jira REST API Documents: https://docs.atlassian.com/jira/REST/latest/
<?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.