We are looking for a way to export all incidents from ServiceDesk

We need all the details on the incident and the notes that are
associated to that incident

Does anyone know of a way?

Thanks