Skip to main content

command line utility for interacting with jira

Project description

Introduction

Simple command line utility to interact with your jira instance.

Installation

  • with easy_install or pip:

    sudo easy_install jira-cli
    sudo pip install jira-cli
  • from source (bitbucket repository):

    hg clone http://hg.indydevs.org/jira-cli
    cd jira-cli
    python setup.py build
    sudo python setup.py install
  • after installation, a few configuration steps will be prompted upon invoking jira-cli for the first time:

    ali@home ~ $ jira-cli
    base url for your jira instance (e.g http://issues.apache.org/jira):http://jira.yourdomain.com
    enter username:ali
    enter password:*********

    The details of your jira instance will be kept in ~/.jira-cli/config and the authentication token will be stored in ~/.jira-cli/auth. Once the authentication token has expired you will be reprompted for your username & password again.

Usage

A few examples to get started.

create an issue with only a title in project TP with default priority and type Bug:

ali@home ~ $ jira-cli -n Bug -t "Test Bug" --priority=Major -p TP
link                 : http://jira.yourdomain.com/browse/TP-24
assignee             :
summary              : Test Bug
issue                : TP-24
reporter             : ali

create an issue with priority Major and a description:

ali@home ~ $ jira-cli -n Bug -t "Test Bug" --priority=Major -p TP the description
link                 : http://jira.yourdomain.com/browse/TP-25
assignee             :
summary              : Test Bug
issue                : TP-25
reporter             : ali

list the issue TP-25:

ali@home ~ $ jira-cli TP-25
link                 : http://jira.yourdomain.com/browse/TP-25
assignee             :
summary              : Test Bug
issue                : TP-25
reporter             : ali

list the issues TP-20 & TP-21:

ali@home ~ $ jira-cli TP-20 TP-21
link                 : http://jira.yourdomain.com/browse/TP-20
assignee             : ali
summary              : test
issue                : TP-20
reporter             : ali

link                 : http://jira.yourdomain.com/browse/TP-21
assignee             :
summary              : Test Bug
issue                : TP-21
reporter             : ali

list the issues in short form:

ali@home ~ $ jira-cli TP-20 TP-21 TP-22 --oneline
TP-20 test < http://jira.yourdomain.com/browse/TP-20 >
TP-21 Test Bug < http://jira.yourdomain.com/browse/TP-21 >
TP-22 Test Bug < http://jira.yourdomain.com/browse/TP-22 >

add a comment to an existing issue:

ali@home ~ $ jira-cli -j TP-20 -c this is a new comment
this is a new comment added to TP-20

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira-cli-0.1.8.tar.gz (4.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

jira_cli-0.1.8-py2.7.egg (9.4 kB view details)

Uploaded Egg

jira_cli-0.1.8-py2.6.egg (9.4 kB view details)

Uploaded Egg

File details

Details for the file jira-cli-0.1.8.tar.gz.

File metadata

  • Download URL: jira-cli-0.1.8.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jira-cli-0.1.8.tar.gz
Algorithm Hash digest
SHA256 0ae6d41ebd5a89bbc9346dd253b948ffce0dbed47137739040fa0be0d11be7ed
MD5 64cd675f6bd2d4a70c4f4906f7e05407
BLAKE2b-256 135abc6002addb2c4f681163f8469453dfd2da87181c40288ea5e42833e89cde

See more details on using hashes here.

File details

Details for the file jira_cli-0.1.8-py2.7.egg.

File metadata

  • Download URL: jira_cli-0.1.8-py2.7.egg
  • Upload date:
  • Size: 9.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jira_cli-0.1.8-py2.7.egg
Algorithm Hash digest
SHA256 bad215e31c00d2338837e63b375585b6d0428722b687595ab75d0213550dbe72
MD5 150fd1bf99f168a3c79dd44cd5e25fda
BLAKE2b-256 8e26d50d75d6cd7e15e3093b6782b9896acfe49dedf066c9fc46e5aa18b21863

See more details on using hashes here.

File details

Details for the file jira_cli-0.1.8-py2.6.egg.

File metadata

  • Download URL: jira_cli-0.1.8-py2.6.egg
  • Upload date:
  • Size: 9.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jira_cli-0.1.8-py2.6.egg
Algorithm Hash digest
SHA256 fc18edd997d19bac7610b8d9789d8ce4c09d9904d00f90aa6e645681b1d6b368
MD5 8e51f11fb51f62da69b3fd8d8cd9233e
BLAKE2b-256 c76bb7d8c00a2a2aca08bff7215ca391d9efe64c1e633d23a0b07b9f272fa342

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page