On automatic migration on new repositories, the property ametys:newrepository on ametys:versions node is never set to false because we never save the modification when setting it to false.
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
0.3
0
You may arrived on this issue during a failed automatic migration, please follow this guide.
Script to detect potential migration problems
Replace deliverDate by your first deliver date. If it is before august 2020, you should not have these issues.
If you obtain a list of versions, you can exclude the version of your first delivery date, and the migration components from plugins which are new in your project. For example, on December 2021, you added the plugin cart, and you deliver your project, the line plugin.cart.jcr in december 2021 can be ignored.
For other cases, you have to check each migration, maybe they should be done manually, and at the end, the property ametys:versions/@ametys:newrepository should be set to false (don't forget to save it).