programmiersportgruppe / jira-sync

A suite of command line utilities to synchronise jira projects to the local file system
MIT License
15 stars 12 forks source link

Export to mongodb #4

Open PiotrCzapla opened 9 years ago

PiotrCzapla commented 9 years ago

Hello,

The jira-sync is an awesome idea, jira + spotlight is perfect combination so i will use it for my own needs. However I've found you project when i was looking for a way to export Jira to some other database that i can then connect with BIRT (Buisness Inteligence and Reporting Tool by eclipse) and use some data crunching to get meaningful reports out of JIRA, Harvest and GitHub commits.

Would you consider incorporating an export to MongoDB as an alternative to flat json files? If so one from our team could provide you with a pull request.

fleipold commented 9 years ago

Hi Piotr,

Using mongodb for reporting purposes is an excellent idea. You could even do that by importing the files into mongodb. I am more than happy to take a pull request. Such a patch would probably:

    jira-sync \
        --baseurl https://jira.myorganisation.com \
        --project MYPROJ  \
        --user jira_user \
        --password jira_password \
        --target mongodb://mongo_user:mongo_password@mongohost:port/database \
        --collection tickets \
        fetch

What do you think?