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

Doesn't work on JIRA v5.2.1 #4

Open
xaionaro opened this issue Nov 18, 2013 · 1 comment
Open

Doesn't work on JIRA v5.2.1 #4

xaionaro opened this issue Nov 18, 2013 · 1 comment

Comments

@xaionaro
Copy link

Hello. The script is not working on JIRA v5.2.1. Can you fix this? :(

In the zip-file of JIRA's backup there's only two files:

  • entities.xml

  • activeobjects.xml

    $ ruby migrate_jira.rake 
    /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /usr/share/redmine/vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    migrate_jira.rake:12:in `initialize': No such file or directory - backup_jira.xml (Errno::ENOENT)
            from migrate_jira.rake:12:in `new'
            from migrate_jira.rake:12:in `<module:JiraMigration>'
            from migrate_jira.rake:9:in `<main>'
    
@gpinkham
Copy link
Contributor

gpinkham commented Jun 3, 2014

this says the file backup_jira.xml is not found. . if you are using this with the recent jira backup it creates a zip file that contains two xml files.. I have successfully run this script by point to one of those files (entities.xml).. its up to you to change the rake task to point to the correct file (or maybe someone will add the ability to pass in the file name)

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