GithubHelp home page GithubHelp logo

tate86 / jiraextractor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ezequielscott/jiraextractor

0.0 0.0 0.0 33 KB

Jiraextractor: a simple python script to download all the info about the issues and their changelogs in csv format.

Python 100.00%

jiraextractor's Introduction

jiraextractor

Jiraextractor is a simple python script that connects with a JIRA server instance and download all the issues and their changelogs in csv format.

Installation

This script works with Python 3.X.

  1. create a virtual environment (https://docs.python.org/3/library/venv.html)
    • $ python -m venv env
  2. activate the virtual environment
    • $ .\env\Scripts\activate.bat (Win)
    • $ source env/bin/activate (Linux, MacOS)
  3. install all the dependencies
    • $ pip install -r requirements.txt

The JIRA Python API library eases the use of the JIRA REST API from Python and it has been used in production for years. See the documentation for full details. http://jira.readthedocs.io/en/latest/

Script usage

jiraextractor -s JIRA_URL --project PROJECT_KEY [-u, --username] [-p, --password] [--issuefile] [--changelogfile] [--startdate] [--enddate] [--anonymize=False] [--parsefile] [-b, --blocksize]

Example:

  1. extract the data. This example extracts all the issues and the changelog of the Spring project XD from 18-Feb-2014 to 20-Feb-2014
    • $ python jiraextractor.py -s https://jira.spring.io/ --project XD --startdate "2014-02-18" --enddate "2014-02-20"
  2. As a result, three files are created:
    • jira.spring.io-XD-changelog.csv : each row represents a change made on a issue report
    • jira.spring.io-XD-issues.csv : each row represents an issue report
    • XD-raw : contains issue report data without any pre-processing step (for example, the changelog is embedded in a field using json)

Utils

If something goes wrong, it is possible to parse the temporal file *-raw.csv with the script parse-raw-file.csv

jiraextractor's People

Contributors

ezequielscott avatar kiryllashkevich 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.