Problem(s)
Our technical team discovered corrupted files in a number of customer integrations. These files are limited to information about integrations and repositories. Rest assured that no customer data was lost.
While our team is still investigating the root cause behind the corrupted files, they have also identified a path for recovering files from backups.
Diagnosis
There are two cases that can lead to the following:
-
Integration configuration disappears completely.
-
Integration configuration still exists but there are indexing errors related to JSON parsing.
Cause
Unexpected file corruption of the JSON file which holds information about connected integrations and repositories configuration such as integration name, commits/pull/merge counter, etc.
Solution
Case 1: If integration(s) disappears completely…
-
Connect and setup the required integration again. If the integration is large, do note that the indexing of all repositories may take some time, even several hours.
-
If the Jira Development Info feature is used, please do the following to prevent data duplication:
-
Disable all integrations.
-
Click on the Clear Development Information button in the advanced section of the GIJ ‘General settings’ page:
-
Enable all integrations.
-
-
After performing the above steps, notify the GIJ support team that data restoration is not required for the install. Otherwise, data duplication will occur if we restore the data on our side.
Case 2: If integration(s) exists but there are indexing errors like “Error of converting a string to java.util.HashMap<java.lang.String, java.util.Collection<org.json.JSONObject>>”
-
Remove or disconnect the affected integration.
-
Connect and setup the affected integration again. If the integration is large, do note that the indexing of all repositories may take some time, even several hours.
-
After performing the above steps, notify the GIJ support team that data restoration is not required for the install. Otherwise, data duplication will occur if we restore the data on our side.