2017 © Pedro Peláez
 

library jirashell

A simple PHP class for adding issues on Jira

image

edmondscommerce/jirashell

A simple PHP class for adding issues on Jira

  • Thursday, March 30, 2017
  • by edmondscommerce
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

JiraShell

By Edmonds Commerce

Env

The first thing you need to setup is your env file. This can be placed anywhere on the system:, (*1)

readonly _jiraUrl=https://your.jira.url;
readonly _jiraUser=jira_user;
readonly _jiraPass=jira_pass;
readonly _jiraProject=jira_project;

Queue

You can now queue a set of tickets for JiraShell to send. You can do this using:, (*2)

$jiraShell = new EdmondsCommerce\JiraShell\JiraShell(
    '/path/to/queue.json',
    '/path/to/env'
);

$jiraShell->queueIssue(
    'Title',
    'Description',
    [
        'Sub-task Title',
        'Sub-task Description'
    ]
);

Preview

You can preview the tickets that you currently have queued using:, (*3)

php jiraShellPreviewTickets.php '/path/to/queue.json' '/path/to/env'

Test

You can send a test ticket to Jira to ensure you have things setup correctly using:, (*4)

php jiraShellTest.php '/path/to/queue.json' '/path/to/env'

Send

And finally you can send your tickets to Jira using:, (*5)

php jiraShellSendTickets.php '/path/to/queue.json' '/path/to/env'

The Versions

30/03 2017

dev-master

9999999-dev https://www.edmondscommerce.co.uk

A simple PHP class for adding issues on Jira

  Sources   Download

MIT

by Avatar edmondscommerce

php shell jira issue tracking