Import problems from JIRA On Demand

We have a number of projects currently hosted on JIRA on demand (v6.0 from what it says). We've downloaded the Python client tools to import the projects. We've done a test run on one of them, but the script seems to fail. I suspect it's because the JIRA APIs have changed in some way. Stack trace as below:

Are there any modifications we can make to the script ourselves or is a more extensive reworking required ?

source_url      : https://XXXXXX.atlassian.net/
source_login    : XXXXXX
target_url      : http://XXX.XXX.XXX.XXX/
target_login    : XXXXXX
project_id      : FRIENDS
('issues_count    : ', 99999)
('skip_count      : ', 0)
<?xml version="1.0" ?><importReport><item id="test.user" imported="false"><error fieldName="login" value="test.user">Value is not unique</error></item></importReport>
Traceback (most recent call last):
  File "jira2youtrack.py", line 297, in <module>
  File "jira2youtrack.py", line 28, in main
    issues_count, skip_count)
  File "jira2youtrack.py", line 266, in jira2youtrack
  File "jira2youtrack.py", line 70, in create_yt_issue_from_jira_issue
    yt_issue[field_name] = get_value_presentation(field_type, value)
  File "jira2youtrack.py", line 203, in get_value_presentation
    return to_unix_date(value)
  File "jira2youtrack.py", line 193, in to_unix_date
    tz_diff *= (int(time_zone[1:3]) * 60 + int(time_zone[3:5]))
ValueError: invalid literal for int() with base 10: ''


Please sign in to leave a comment.