Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.16.1, 8.17.0
-
None
-
8.16
-
6
-
Severity 2 - Major
-
2
-
Description
Issue Summary
Jira cloud backup when restored results in the user directory operations removed
Attached some of the backup used
Steps to Reproduce
- Create a test Jira cloud instance (https://nayka.atlassian.net/jira/your-work)
- Create a backup of Jira cloud instance using (setting -> system -. Backup manager -> create backup for server)
- use the backup on a Jira server / Datacenter to restore. https://confluence.atlassian.com/adminjiraserver/migrating-from-jira-cloud-to-server-applications-938846963.html
- Login to the Jira server/ Datacenter with user sysadmin/sysadmin
- Observe the "Jira internal directory" operations are disabled
Expected Results
- At the end of restoration of Jira cloud backup the "Jira internal directory" operations should not be disabled
Actual Results
Workaround
Use either one of the methods below:
Method 1
Go to '⚙ > User Management > User Directories > Jira Internal Directory > Edit' and hit the Save and Test button.
This will trigger a backend operation on the database, recreating all the operations in the table
Method 2
- Shutdown Jira
- Run the following sql query:
insert into cwd_directory_operation values (1, 'CREATE_GROUP'), (1, 'CREATE_ROLE'), (1, 'CREATE_USER'), (1, 'DELETE_GROUP'), (1, 'DELETE_ROLE'), (1, 'DELETE_USER'), (1, 'UPDATE_GROUP'), (1, 'UPDATE_GROUP_ATTRIBUTE'), (1, 'UPDATE_ROLE'), (1, 'UPDATE_ROLE_ATTRIBUTE'), (1, 'UPDATE_USER'), (1, 'UPDATE_USER_ATTRIBUTE');
- Restart Jira
Attachments
Issue Links
- is caused by
-
JRACLOUD-80978 "Back up for server" export is missing internal directory operations
- Closed
- is duplicated by
-
JSWSERVER-21471 Jira Internal Directory users without permissions due to missing operations
- Closed