I have multiple self hosted Community instance with multiples project inside.
I have create a new Enterprise instance from scratch, i have create users with same login & email & SMC account like actual users on Community instance, and i want to export my community project, import into my enterprise instance and keep assignment.
To be really explicit: you’ve got the “same” users in both places, but when you imported a test project from your CE instance, the issues weren’t re-assigned to those users?
If I understood correctly, you are trying to migrate data from one DB to another. If this is the case, have you tried setting the user UUIDs in the new instance database to match those in the old instance? That way the issue assignments will still be matched to their respective users.
Assuming all users are already imported in your new instance, then, for every issue, you can use the key field from the payload(s) you get above, and in your new enterprise instance, use the following endpoint (POST) to assign the user to the same issue (please note: issue key remains the same in new instance when imported, so you will be able to match them like so):
POST api/issues/assign, using params: assignee (login you used in step 1), and issue (key you get in this step)
We found that this field (assignee) is set to NULL on purpose, and there was a ticket for this, and since it did not get much traction, it was closed.
Nevertheless, thank you for your report, and we will look more into it.