lesstif/jira-cli

simple JIRA command line interface(CLI)

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 0

Open Issues: 1

Type:application

0.1.0 2016-12-20 04:11 UTC

This package is auto-updated.

Last update: 2024-03-27 03:27:25 UTC


README

simple JIRA command line interface(CLI) in PHP.

Inspired by go-jira, jira-cmd and JIRA Command Line Interface.

Requirements

Installation

  1. Download PHAR package.

    mkdir jira-cli
    cd jira-cli
    wget https://github.com/lesstif/jira-cli/releases/download/0.1.0/jira-cli.phar.gz
  2. Decompress downloaded package.

    gzip -d jira-cli.phar.gz
  3. create .env on your jira-cli directory and editing it.

    JIRA_HOST="https://your-jira.host.com"
    JIRA_USER="jira-username"
    JIRA_PASS="jira-password"

Usage

Project

Get Project Info

$ php jira-cli.phar project:show MYPROJECT --field-exclude "self,avatarUrls,roles,versions"

Get All Project list

$ php jira-cli.phar project:list --field-exclude "self,projectCategory,avatarUrls"