2017 © Pedro PelĂĄez
 

library laravel-jira

Laravel5 service for Jira REST api to search and create issues

image

rockkeeper/laravel-jira

Laravel5 service for Jira REST api to search and create issues

  • Friday, October 7, 2016
  • by RockKeeper
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 25 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Laravel5 Jira service

Easy access Jira rest api in Laravel5., (*1)

, (*2)

Installation and Requirements

composer require rockkeeper/laravel-jira

Afterwards, run composer update from your command line., (*3)

Then, update config/app.php by adding an entry for the service provider., (*4)

'providers' => [
    // ...
    Univerze\Jira\JiraServiceProvider::class,
];

'aliases' => [
    // ...
    'Jira' => Univerze\Jira\Facade\JiraFacade::class,
];

Finally, from the command line again, run php artisan vendor:publish to publish the default configuration file to config/jira.php., (*5)

, (*6)

Searching issues

The search method will take the jql query string:, (*7)

$response = Jira::search( 'project = YourProject AND labels = somelabel' );

You can build and test the jql beforehand if you go to your Jira site Issues > Search for Issues > Advanced Search., (*8)

Further information can be found on JIRA documentation - search issues, (*9)

NOTE jql parameter is already included in the payload, (*10)

, (*11)

Creating issues

$issue = Jira::create( array(
    'project'     => array(
        'key' => 'YourProject'
    ),
    'summary'     => 'This is the summary',
    'description' => 'Description here',
    'issuetype'   => array(
        'name' => 'Bug'
    )
) );

Further information can be found on JIRA documentation - create issue, (*12)

NOTE fields parameter is already included in the payload, (*13)

, (*14)

Editing issues

Jira::update( 'ISSUE-1234', array(
    'description' => 'this is my new description'
) );

In this case the JIRA api will return "204 - No Content" instead of issue details., (*15)

Further information can be found on JIRA documentation - edit issue, (*16)

NOTE fields parameter is already included in the payload, (*17)


Released under the MIT License. See the LICENSE file for details., (*18)

The Versions

07/10 2016

dev-master

9999999-dev

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

07/10 2016

v0.4.1

0.4.1.0

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

07/10 2016

v0.4

0.4.0.0

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

07/10 2016

v0.3

0.3.0.0

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

09/08 2016

dev-feature/multi-connections

dev-feature/multi-connections

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

28/02 2016

dev-editing-issues

dev-editing-issues

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

28/02 2016

v0.2

0.2.0.0

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira

26/02 2016

v0.1

0.1.0.0

Laravel5 service for Jira REST api to search and create issues

  Sources   Download

MIT

by Roland Bécsi

laravel atlassian jira