GithubHelp home page GithubHelp logo

infi.jira_cli's Introduction

Overview

A small set of command-line tools for those things in JIRA that we do several times a day.

Example

With jissue, you can do the following:

jissue create MYPROJECT "THIS IS A TICKET"

This prints out the ticket information, and with that you can do:

jissue comment <TICKET> "this is my comment"

Virtualenv-style

If you work with JIRA alot, its annoying to type in the project/issue key all the sime Starting from version 0.1, jissue ships with jish, which is a shell wrapper, similar to virtualenv. jish sets up the following environment variables: JISSUE_PROJECT, JISSUE_VERSION, JISSUE_COMPONENT, JISSUE_ISSUE, which jissue treats as defaults. You can use this variables to set up your zsh prompt. Here's a simple demonstration to show when this is useful:

jish project MYPROJECT # by default, it uses the upcoming unreleased version, and 'unknown component'
jish create task "this is a test\nthis is the description"
jissue commit --file=file-a --file=file-b "this message will be appended to the ticket numeber"
jissue comment "you can also just comment on the ticket without mentioning it explicitly"
jissue resolve  # this will deactivate

Installation Instructions

Install the package

easy_install -U infi.jira_cli

Add the following shell command to your zsh/bash setup:

jish () {
    eval $(POSIXLY_CORRECT= <full-path-to-jish> "$@")
}

Set-up your JIRA information

jissue config set jira.your.domain your-username your-password

The configuration pathname defaults to ~/.jissue. You can override it with the INFI_JIRA_CLI_CONFIG_PATH environment variable.

Checking out the code

Run the following:

easy_install -U infi.projector
projector devenv build

Running tests

Before running the tests, you'll need set the jira configuration and pass some environment variables to nose:

TEST_PROJECT= bin/nosetests

infi.jira_cli's People

Contributors

grzn avatar da-x avatar wiggin15 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.