Skip to content

simple JIRA command line interface(CLI) in PHP.

Notifications You must be signed in to change notification settings

lesstif/jira-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jira-cli

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"