Content
View differences
Updated by Andrej Sandorf 4 days ago
### Overview
We have some user accounts in the company that contain special characters, such as "\[\]". They are used to designate certain types of accounts and are coming from an external (corporate) system, so we can't control them.
The problem is, OpenProject does not allow creating users with such names, e.g. "\[SA\] Tester".
This is essentially is a blocker for our migration to OpenProject, as we can't change all those accounts, and we can't migrate without them.
### Steps to reproduce
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Create a user with full name "\[SA\] Tester" (Jira doesn't have separate fields for first/last name)
2. Assign an issue in a test project to that user.
3. In OpenProject, as a system administrator: go to Administration > Import > Jira
4. Provide connection details and choose the test project for import
5. Attempt to execute import.
### What is the buggy behavior?
* Import fails with "First name is invalid." error
* The same happens if I try to create a user with such name directly in OpenProject
### What is the expected behavior?
1. OpenProject removes the invalid characters for should import (or allow creating) such users and continues importing user without errors
### Out of scope
Allowing all characters in usernames for import and/or creation of users
### Environment information
**OpenProject installation type**
* Docker-compose installation
**OpenProject version**
17.4
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (OracleLinux 8)
* [ ] Chrome OS
* [ ] Other (please specify)
We have some user accounts in the company that contain special characters, such as "\[\]". They are used to designate certain types of accounts and are coming from an external (corporate) system, so we can't control them.
The problem is, OpenProject does not allow creating users with such names, e.g. "\[SA\] Tester".
This is essentially is a blocker for our migration to OpenProject, as we can't change all those accounts, and we can't migrate without them.
### Steps to reproduce
2. Assign an issue in a test project to that user.
3. In OpenProject, as a system administrator: go to Administration > Import > Jira
4. Provide connection details and choose the test project for import
5. Attempt to execute import.
### What is the buggy behavior?
* Import fails with "First name is invalid." error
* The same happens if I try to create a user with such name directly in OpenProject
### What is the expected behavior?
Allowing all characters in usernames for import and/or creation of users
**OpenProject installation type**
* Docker-compose installation
**OpenProject version**
17.4
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (OracleLinux 8)
* [ ] Chrome OS
* [ ] Other (please specify)