Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to mongodb #4

Open
PiotrCzapla opened this issue May 13, 2015 · 1 comment
Open

Export to mongodb #4

PiotrCzapla opened this issue May 13, 2015 · 1 comment

Comments

@PiotrCzapla
Copy link

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
Copy link
Contributor

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:

  • Introduce a new parameter or interpretation of --target
  • Add another implementation of the LocalRepository that talks to mongodb instead.
  • Add an example to the readme, perhaps like this
    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants