One way to easily integrate your automated tests is by using the TestNG XML output of your test runner.

You can learn more about how TestNG reports are used with Xray in Taking advantage of TestNG XML reports.

We have some simple yet detailed tutorials that explain how to integrate several testing frameworks used in some programming languages, so you can see how automated tests are mapped from your code to Jira. 

Learn more

Please check out a vast collection of tutorials in TTT: Examples using TestNG.