Skip to content
 
 

Latest commit

 

History

97 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jira Api Rest Client

Build Status

you know JIRA supports REST API. this is very useful to make some custom notifications and automated jobs. (JIRA also supports email notification, but it's too much to custom templates, notification timing. unfortunately it requires Administration permission.) this API library will help your problems regarding JIRA. hope you enjoy it.

Usage

composer.json

composer require chobie/jira-api-restclient 2.0@dev
<?php
$api = new \chobie\Jira\Api(
    "https://your-jira-project.net",
    new \chobie\Jira\Api\Authentication\Basic("yourname", "password")
);

$walker = new \chobie\Jira\Issues\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.
}

License

MIT License

JIRA Rest API Documents

https://docs.atlassian.com/jira/REST/latest/

About

php JIRA REST API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages