You can import the risk title and other attributes using the standard Jira import tool:
https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html
However, do not import the inherent or residual level of risk. The system will calculate this based on the risk probability and impacts that you supply.