How to migrate incidents and jobs with REST Api

Hi community,

i try to migrate a camunda process with the rest api,but for someprocess instances i get the errors

“failures”:[“Process instance contains not migrated incidents: [a10a…]”

and

“Process instance contains not migrated jobs: [bb40…]”

How can i migrate incidents and jobs with the REST API ? I din’t find any example.