Page History
...
Each approach can be achieved using the REST API, and the POST /rest/raven/1.0/import/execution endpoint. You just need to know in advance the Test Execution key and also the issues keys for each Test that is part of the Test Execution.
Configuring maximum allowed attachment size
The maximum allowed size for the Test Case Importer is the same as Jira's.