This repo contains several source-code snippets that show how to invoke Xray Test Management for Jira using one of the available APIs (see References at bottom), in different languages and, eventually, different HTTP libraries. You can also found examples of how to import from other tools into Xray.
The purpose is to facilitate building out integrations with Xray. Nevertheless, since the open-source community is very active, please check first if there is something already available that meets your needs. There are many packages/libraries already available (some contributions from the community for Xray server/DC).
Feel free to copy and adapt the code to your own needs.
Although similar, Xray for Jira server/data center (DC) and Xray for Jira Cloud are different products, essentially because they are built on top of different infrastructure and application capabilities. Jira server/datacenter and Jira Cloud are distinct product, with different roadmaps, built using distinct technologies, providing also different APIs. This has a consequence that apps for Jira server/DC and for Jira Cloud are essentially totally different from an architecture standpoint, but eventually also from a feature perspective.
- Import test automation results
- Usage of GraphQL API in Xray Cloud
- Usage of Jira REST API
- Import test cases from TestLink
Any questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's. For Xray specific questions, please contact Xray's support team.