Skip to main content

Easily export JIRA issues to CSV

Project description

Join the chat at https://gitter.im/coddingtonbear/jira-select

Jira-Select: Get the data you want to see out of Jira

Jira-select is a command-line tool and library that lets you run SQL-like queries against your Jira instance that are far beyond what Jira's built-in query language can provide.

Jira has its own query language but there are many limitations around what JQL is capable of. Some data is returned in arcane formats (e.g. sprint names are returned as a string looking something like com.atlassian.greenhopper.service.sprint.Sprint@14b1c359[id=436...), data cannot be grouped (there's nothing like SQL's GROUP BY statement), and because of that lack of grouping, there are no aggregation functions -- no SUM-ing story points or estimates per-assignee for you. And if you want to write a custom function for processing a field, well, I'm not even sure where you'd begin. Jira-select makes those things easy.

If you've ever found yourself held back by the limitations of Jira's built-in query language, this tool may make your life easier. Using Jira-select you can perform a wide variety of SQL-like query operations including grouping, aggregation, custom functions, and more.

Installation

You can either install from pip:

pip install jira-select

or from source:

git clone https://github.com/coddingtonbear/jira-select.git
cd jira-select
pip install -e .

Quickstart

First, you need to configure jira-select to connect to your jira instance:

jira-select configure

Then, you can open up your shell:

jira-select shell

Now, you can type out your query -- the below will find issues assigned to you:

select:
  - key
  - summary
from: issues
where:
  - assignee = "your-email@somecompany.com"
  - resolution is null

The editor uses vi bindings by default; so once you're ready to submit your query, press Esc followed by Enter and after a short wait (watch the progressbars), you'll be shown your results. Press q to exit your results.


  • Documentation for Jira-select is available on ReadTheDocs.
  • Please post issues on Github.
  • Questions? Ask them on Gitter.

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-select-1.2.1.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

jira_select-1.2.1-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file jira-select-1.2.1.tar.gz.

File metadata

  • Download URL: jira-select-1.2.1.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for jira-select-1.2.1.tar.gz
Algorithm Hash digest
SHA256 9e08c5868bdc8874fd13698c7a6538df5fefb613bc0d4eac7901a6d38f31887e
MD5 5f29be6fa9decc1d5294e26e6e8ff1c1
BLAKE2b-256 90234b364517db70ccfe633645f456c85e944548f39ec354a6bf4eeaa5a7be29

See more details on using hashes here.

File details

Details for the file jira_select-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: jira_select-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for jira_select-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20d633080c91fcd6d5727dd4497e2aa167036a0e9c6495162eae5dd39ea4bbdc
MD5 1f1a94c090c6fe41901ca27c9213188f
BLAKE2b-256 6fd1b0fff3394a30d21a9814b76659fcd728ae66537452966b240f2f1b4c2853

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