i have to migrate a lot of alerts from a grafana 8.5.3 to a new grafana 10.0.3.
I tried to export rules from grafana 8.5.3 using the API /api/ruler/grafana/api/v1/rules/ and also using /api/alerts.
In both case when try to import the previously obtained json in the 10.0.3 using API POST /api/v1/provisioning/alert-rules i receive several errors.
Can you suggest me a workaround to have a successful export/import procedure?
Thanks in advance