Code Monkey home page Code Monkey logo

ghijira's Introduction

Export GitHub Issues to JIRA-compatible CSV format

This software communicates with Github's v3 API, to export the "Issues" from a project in to a format JIRA can import.

The source is set up for both leiningen and Eclipse, as I sometimes use the latter.

Note that comment import is broken in JIRA import 4.1.4, and works correctly starting with JIRA import 4.2. As of June 2012, unfortunately the version deployed in JIRA OnDemand is 4.1.4.

For background information, see the announcement blog post:

http://kylecordes.com/2012/github-issues-export-jira

Usage

I expect some users of this tool to start without Clojure knowledge (i.e. just want to export JIRA data, not learn Clojure), so here are hopefully sufficient instructions for that.

Install Java.

You don't need to install Clojure - Leiningen will do that for you.

Install Leiningen:

https://github.com/technomancy/leiningen/

Either the new 2.x version, or old 1.x version, should work. (Typically you just download the lein script, and put it in your ~/bin directory.)

Download ghijira (this software), either with "git clone" or by downloading a ZIP from Github.

Navigate to its directory in your command prompt.

Use "lein deps" to download the dependencies. Leiningen will download all of the various JAR files needed, including Clojure itself.

Copy config.clj to config-project_id.clj and update it with your settings. This is a Clojure file, but you should be able to follow the syntax enough to fill in your project specifics.

Run the ghijira code, using Leiningen: "lein run project_id". This will take a while, depending on the number of issues in your project, because the Github Issues API requires a separate requires for each Issue to download its comments.

Import the resulting JIRA-project_id.csv file into JIRA. To get this right, you need to use a JIRA import configuration file. This ghijira project includes an example. Of particular importance is the comment setting, required for comment import to work. To clarify, this JIRA import configuration file is not part of the Clojure code, rather it is something JIRA needs.

Information about such a file is linked in the blog post mentioned earlier.

License

Copyright (C) 2012 Kyle Cordes

Distributed under the Eclipse Public License, the same as Clojure.

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.