It would be convenient to merge users and/or ad option to assign email address to different user - currently it's not possible to change / assign address to different user - 1dev yields error that the email address is already in use. Deleting email from one user/deleting user and then adding the email to different user results in all comments by that user are assigned to "Unknown".
(side comment: I assume that it's not possible to restore in any way previous association from "Unknown" to the user? Or at least edit issue/comment and set the user that started the issue?)
Robin Shen commented 2 months ago
I assume that it's not possible to restore in any way previous association from "Unknown" to the user? Or at least edit issue/comment and set the user that started the issue
Yes, there is no way for that. By setting to unknown, the author info is lost.
Robin Shenchanged state to 'Closed'1 month ago
Previous Value
Current Value
Open
Closed
Robin Shen commented 1 month ago
This feature is not necessary as it is possible to assign email address to a different user.
To do it, you will need to remove that email address from original user first. If the email address to remove is the only email address of original user, you will need to add another email address to original user first.
wojtek commented 1 month ago
To do it, you will need to remove that email address from original user first. If the email address to remove is the only email address of original user, you will need to add another email address to original user first.
But this could still lead to something to data-loss akin to "Unknown"? Merging accounts would allow use single login and maintain all tickets/issues (important if/when importing from multiple sources)
wojtek commented 1 month ago
I assume that it's not possible to restore in any way previous association from "Unknown" to the user? Or at least edit issue/comment and set the user that started the issue
Yes, there is no way for that. By setting to unknown, the author info is lost.
Could there be an option to set "submitter" of the issue? Or set author of the comment (by admin for example)?
Robin Shen commented 1 month ago
But this could still lead to something to data-loss akin to "Unknown"? Merging accounts would allow use single login and maintain all tickets/issues (important if/when importing from multiple sources)
No it won't. As long as you do not delete the account, it will not be set to unknown.
wojtek commented 1 month ago
But this could still lead to something to data-loss akin to "Unknown"? Merging accounts would allow use single login and maintain all tickets/issues (important if/when importing from multiple sources)
No it won't. As long as you do not delete the account, it will not be set to unknown.
Yes, but then it's not associated with the correct account so all filters ("my issues") won't work...
Robin Shen commented 1 month ago
Do you mean issues imported from other sources are not associating with correct account? If so, please set up emails for correct account before importing, as OneDev maps issue/comment submitter to account by email during import.
If you want to change the submitter of existing issue, you may do so by directly altering the database table. Merging accounts have many things to consider, such as permissions, etc, and is too complicated for such a rare case.
It would be convenient to merge users and/or ad option to assign email address to different user - currently it's not possible to change / assign address to different user - 1dev yields error that the email address is already in use. Deleting email from one user/deleting user and then adding the email to different user results in all comments by that user are assigned to "Unknown".
(side comment: I assume that it's not possible to restore in any way previous association from "Unknown" to the user? Or at least edit issue/comment and set the user that started the issue?)