Details
-
Bug
-
Resolution: Fixed
-
Low
-
8.13.5, 8.20.3
-
None
-
8.13
-
12
-
Severity 3 - Minor
-
43
-
Description
We introduced the feature flag com.atlassian.jira.agile.darkfeature.handle.ug.usernames.enabled that allows Jira to handle these user_keys from Cloud;
You can add the feature flag at: <BASE_URL>/secure/admin/SiteDarkFeatures!default.jspa
Summary
After recently migrating from Jira Cloud to Server or Data Center, unable to add new users as Jira software board administrator via board settings, the following error is thrown:
Error:
"Ug" is not a valid user.
This is caused by the data set introduced in Cloud: https://jira.atlassian.com/browse/JSWCLOUD-20732
Steps to Reproduce
- Have a Cloud instance with users created around Sep~Oct 2020;
- Export an XML Backup from this instance and migrate to Server
- Try to add a new user as a board admin in any Jira software board;
- Jira will throw "Ug" is not a valid user. error
- Querying the app_user table looking for that user lower_user_name we should find the following:
ID user_key lower_user_name 11054 ug:1287e681-a24c-44ec-bac7-e72ad966a9a2 psouza
Expected Results
Jira should either convert those user_keys to the Data Center pattern during the export/import, or have the same bug fix implemented that will work with those 'ug:' user_keys.
Actual Results
The following error message is seen upon adding a user:
Workaround
No workaround available. Please upgrade to the fixed version(s) as listed above.
Attachments
Issue Links
- is caused by
-
JSWCLOUD-17071 Unable to add users as board admin if the user key have a colon punctuation ( : ).
- Closed
-
JSWCLOUD-20732 Unable to add new users as Jira software board admin via board settings. Error: "Ug" is not a valid user
- Closed
- resolves
-
JSWSERVER-21268 After migrating from Cloud to DC, users with ‘ug’ in user-keys can’t be assigned to board admin role
- Closed
- causes
-
PS-77367 Loading...
-
PSSRV-8945 Loading...
- mentioned in
-
Page Loading...