Skip to content

lastlink/TAIGA-JIRA-IMPORTER

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

(In DEVELOPMENT)

Jira Taiga Importer: BETA

  • V:0.10 (now stable and functional for loading into taiga pending cleanup)

##Description:

  • Goal is to build a parser that will convert jira xml to taiga json format and a parser that does that opposite.

##Instructions:

  • Copy latest backup xml files from C:\Program Files\Atlassian\Application Data\JIRA\export
    • These will be entities.xml & activeobjects.xml in the most recent zip file. It is possible to force a backup from the admin daskboard e.g. http://jiraurl/secure/admin/XmlBackup.jspa
    • Copy these into the jira_xml_databases folder
  • Make sure to have ruby installed on the computer and to gem install the dependencies
    • gem install
      • nokogiri # provides support for xpath queries
      • iconv # used for cleaning bad control characters
      • json # used to export to json
      • date
  • Cd into the project
    • ruby jiraparser.rb

###Technologies

  • Software Project Management Platforms
    • JIRA (xml database of all projects supports json import)
    • Taiga (json database for each project)
  • Parser program
    • Python element tree (having issues I think it's because of emoticons in the jira xml)
    • Ruby DEFAULT for now
      • nokogiri ruby xml reader
        • Works great for xml b/c if invalid characters aka emoticons will read until that point
        • now that I have the query mappings done I can easily port to the others
    • Pearl - heard good for parsing may build one as well

###Features

  • Export each JIRA project as a separate json project in TAIGA FORMATTING

###Taiga json notes:

  • Source this may become invalid when project with project being reimported
  • Owner is left blank unless email in taiga database
  • Logo is saved as img text file
  • Uses default jira values, may tweak to inlude your own custom ones
  • Jira tasks are treated as stories
  • Priority is only used for bug issues
  • Any only sub tasks for Tasks and stories are imported any others are ignored
  • Ordering of tasks may be somewhat randomized by when created
  • Sprints have stories successfully linked
  • Epics have tasks successfully linked
  • Tags/Labels are supported
  • Default for projects converts are to be not private since taiga only allows one private per free account
  • Kanban also disabled by default may enable if desired
  • Sprint story board name autogenerated from project name if it fails gives user option to manually import or skip

###Jira xml notes

  • project id is 24

###Xml Resources:

####Not Supported:

  • Logos saved in some string 64 format
  • History ignored (could be done, but just letting taiga auto generated everything as it's imported)
  • sprint story board name, tries to convert name to this, if fails gives user option to manually input

###Issues

  • Any ' apostrophes cause issues when being searched in xpath
  • Other projects not successfully importing giving an error: [Taiga] error importing project data
    • need to consult taiga support to fix this

####Supported:

  • Export Project names
  • Export json
  • Taiga valid json imports properly and history is regenerated by user that imported
  • User ignored for user importing
  • sprints/milestones, userstories, subtasks, and tasks Supported
  • Epics
  • Issues - only bugs
  • Cleaup code part 1
  • generate json files for each project in xml database (right now done manually by name given)
  • make milestone dynamic right now sprint story board namespace is hard coded in

About

A parser that converts jira xml to taiga json and back.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages