Problem in exporting issues from FogBugz

Helle everyone,

I am trying to export bugs from a hosted FogBugz into a hosted YouTrack instance.

When running the export script for fogbugz from http://www.jetbrains.com/youtrack/tools/index.html I get the following error during the execution:

Failed to import issue [ 9-107 ].

Reason :

<item id="107" imported="false"><error fieldName="Assignee" value="User 1">user login is expected</error></item>

Request was :

  <issue>

    <field name="Subsystem">

      <value>Misc</value>

    </field>

    <field name="Fix versions">

      <value>Undecided</value>

[...]

this happens for every issue. The projects are created correctly but for some reasons all issues require a login from the YouTrack side. What am I doing wrong here? Is the script in error?

Regards,

Christoph

5 comments
Comment actions Permalink

Hello, Christoph!

Do you have user with name "User 1" in your FogBugz installation? Also, could you please provide script log?

0
Comment actions Permalink

Hello Anna,

yes I do. (Actually the name is different but i changed it to protect privacy)

I attached the output of the script up until the point it fails.

Regards,

Christoph



Attachment(s):
importerror.txt.zip
0
Comment actions Permalink

Thank you!

I'll investigate your problem and let you know when it is resolved.

0
Comment actions Permalink

I assume since there has been no notification thus far that the problem still exists?

0
Comment actions Permalink

Since things did not move here at all I did my own code-check. It seems that the importer imports users by replacing

spaces with underscores, but does not do the same replacement when setting the asignee of a case. E.g.

"Jane_Doe" is imported but the asignee is set to "Jane Doe" in the YT import and thus the user is not

found. A simple replace fixed that part.

Since Fogbugz does seem to assign the usernames with Real Names (at least in the cloud version) I am surprised this script ever import anything. It seems FogBugz users don't migrate to YouTrack.

Regards

Christoph

0

Please sign in to leave a comment.