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

provide your own formatting:

ali@home ~ $ jira-cli TP-20 --format="%reporter, %summary, %status"

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-1-gd421df1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for jira-cli-0.1.8-1-gd421df1.tar.gz
Algorithm Hash digest
SHA256 7163323d37f713109483402b10decea0d1c0a0fee2aaa86ba1a1d695fd67ea5a
MD5 fd40f9cd308310e16cca5ba90e703d6c
BLAKE2b-256 07de8f3b3960828eb6d61eb503fc40f0c50373ae84621e5b8a7840efd091af8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jira_cli-0.1.8_1_gd421df1-py2.7.egg
Algorithm Hash digest
SHA256 3502a569f912d84c342832fef0e0acd3e17fd6bbe5451f45f482ff5373d22233
MD5 bfe70aa6cee24d5cd038b33b1c5f5073
BLAKE2b-256 08d8146d8f438c24a7eb79f3278db7bab0df677af634d0d0cfddb8d708f94e9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jira_cli-0.1.8_1_gd421df1-py2.6.egg
Algorithm Hash digest
SHA256 b9e4289540c5226dd12b77bde5c165a5687696d46278052bdcf532cd0dc02145
MD5 9c40a5e55f2f05caa72ff3d5e2631bac
BLAKE2b-256 d0c417c5f5ccd4313798fe2765683410995bbe8ff065c906546c370c6abf50e9

See more details on using hashes here.

Supported by

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