Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edmondscommerce/jirashell
https://github.com/edmondscommerce/jirashell
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/edmondscommerce/jirashell
- Owner: edmondscommerce
- License: mit
- Created: 2017-03-29T10:13:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T14:03:02.000Z (almost 5 years ago)
- Last Synced: 2024-08-08T00:22:19.328Z (5 months ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JiraShell
## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)## Env
The first thing you need to setup is your `env` file. This can be placed anywhere on the system:
```text
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:
```php
$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:
```bash
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:
```bash
php jiraShellTest.php '/path/to/queue.json' '/path/to/env'
```## Send
And finally you can send your tickets to Jira using:
```bash
php jiraShellSendTickets.php '/path/to/queue.json' '/path/to/env'
```