Jun 12 2012
A few weeks ago I posted about the various Github Issues export tools to prepare data for import to Atlassian JIRA. Unsurprisingly, none of them worked sufficiently well for my needs. I thought about adapting and improving one of them; I know Ruby, Python, and (barely) enough Perl. But none was all that appealing; some used an obsolete Github API version, one didn’t handle comments at all (!), and so on.
Instead I wrote a new tool, in Clojure. The following tools and documentation moved things along quickly:
- Github v3 API
- Clojure API wrapper for the Github v3 API: (Thank you Anthony Grimes)
- Doc for the above
- Clojure CSV library
- Clojure Date Time library
- Doc for the JIRA import format
- Doc for the JIRA comment import
- KB article for comment importing, in particular, ”settings.advanced.mapper.comment” : “com.atlassian.jira.plugins.importer.imports.csv.mappers.PvcsComment”
Download the GHI -> JIRA CSV tool now:
A very irritating caveat is that as of June 2012, the resulting file works great with the current downloadable JIRA, but fails with JIRA OnDemand (the SaaS version). JIRA support confirmed the import problem is due to a slightly older version of the import tool used in the SaaS offering – by the time you read this, it might already have been upgraded and fixed.
Update: To help those who aren’t here for the Clojure but just to solve their GHI->JIRA problem, I added more instructions to the README file (see github project link above) explaining how to use the software.
If you found this post useful, please link to it from your web site, mention it online, or mention it to a colleague.
One response so far