import from Jira 6.1.1 to youtrack 5.0.5 with python script.


Im trying to import 20 issues from Jira to youtrack.
And I get following message in the command window.
I'm totaly new to python, but i have programming knowledge.
The project is created in Youtrack but no issues.

source_url      :
source_login    : admin
target_url      :
target_login    : frederick
project_id      : ixit
('issues_count    : ', 20)
('skip_count      : ', 0)
Traceback (most recent call last):
  File "c:\python33\lib\python\", line 298, in <module>
  File "c:\python33\lib\python\", line 29, in main
    issues_count, skip_count)
  File "c:\python33\lib\python\", line 264, in jira2youtrack
    jira_issues = source.get_issues(project_id, start, end)
  File "c:\python33\lib\python\jira\", line 26, in get_issues
    issue = self.get_issue(project_key + "-" + str(i))
  File "c:\python33\lib\python\jira\", line 32, in get_issue
    response, content = self._get(self._rest_url() + "/issue/" + issue_id)
  File "c:\python33\lib\python\jira\", line 62, in _get
    return response, json.loads(content)
  File "c:\python26\lib\json\", line 307, in loads
 return _default_decoder.decode(s)
  File "c:\python26\lib\json\", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\python26\lib\json\", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Please sign in to leave a comment.