Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Tool for searching in local copy of JIRA issues

Project description

jirafts

JIRA Full Text Search is a tool which allows you to save issues to your local drive for searching in indexed text with great Whoosh search engine or grep by regular expressions.

Current state

Work in progress, but can be used already

Insstallation

# in virtual env
$ pip install jirafts

Usage

We will use Cassandra's Python driver Jira as example https://datastax-oss.atlassian.net/

  • First, sync issues from project PYTHON

    $ jirafts sync --url https://datastax-oss.atlassian.net/ -p PYTHON

    Data will be stored to default location ~/.jirafts/default_index/

  • Now you can search issues

    $ jirafts search segmentation
    $ jirafts search "doesn't work"
    $ jirafts search "status:'In Progress' asyncio"
    
  • Grep with regexps

    $ jirafts grep "CREATE KEYSPACE.*?SimpleStrategy"
    $ jirafts grep -i "simplestra"
    
  • Or dump whole text if you would like to process it

    $ jirafts dump | wc -l
    $ jirafts dump -s | sort
    

Usage with private JIRA

Authentication is supported via --auth parameter

$ jirafts sync --url https://private-project.atlassian.net/ --auth email@example.com:token-or-password

Also, you can pass path to file to --auth with credentials in same format

$ jirafts sync --url https://private-project.atlassian.net/ --auth ~/.jira-auth.txt

Description of other options available in the integrated help:

$ jirafts --help
$ jirafts sync --help
$ jirafts search --help
$ jirafts grep --help
$ jirafts dump --help

Project details


Release history Release notifications

Download files

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

Files for jirafts, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size jirafts-0.1.0-py2.py3-none-any.whl (10.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size jirafts-0.1.0.tar.gz (7.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page