{"id":19791973,"url":"https://github.com/xray-app/xray-code-snippets","last_synced_at":"2025-06-15T09:36:53.684Z","repository":{"id":45753764,"uuid":"387823239","full_name":"Xray-App/xray-code-snippets","owner":"Xray-App","description":"Xray source-code snippets showcasing the integration with this test management tool for Jira","archived":false,"fork":false,"pushed_at":"2024-09-09T11:22:52.000Z","size":273,"stargazers_count":24,"open_issues_count":4,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-09-09T13:36:55.495Z","etag":null,"topics":["jira","test-automation","testing","xray"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xray-App.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-20T14:45:48.000Z","updated_at":"2024-09-09T11:22:55.000Z","dependencies_parsed_at":"2023-02-09T02:46:21.780Z","dependency_job_id":"42640ad3-d242-4eaf-ac11-ce3e1b133a60","html_url":"https://github.com/Xray-App/xray-code-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Fxray-code-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Fxray-code-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Fxray-code-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Fxray-code-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xray-App","download_url":"https://codeload.github.com/Xray-App/xray-code-snippets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224231431,"owners_count":17277386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jira","test-automation","testing","xray"],"created_at":"2024-11-12T07:05:32.050Z","updated_at":"2024-11-12T07:05:32.654Z","avatar_url":"https://github.com/Xray-App.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xray source-code snippets\n\n[![license](https://img.shields.io/badge/License-BSD%203--Clause-green.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/Xray-App/community)\n\nThis repo contains several source-code snippets that show how to invoke [Xray Test Management for Jira](https://getxray.app) 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.\n\nThe 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](https://docs.getxray.app/display/XRAY/Integrations+from+the+community+and+other+products)).\n\nFeel free to copy and adapt the code to your own needs.\n\n## Background\n\n### Xray server/DC vs Xray Cloud\n\nAlthough 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.\n\n## Use cases\n\n- [Import test automation results](use_cases/import_automation_results/README.md)\n- [Usage of GraphQL API in Xray Cloud](use_cases/graphql_api_usage/README.md)\n- [Usage of Jira REST API](use_cases/jira_rest_api_usage/README.md)\n- [Import test cases from TestLink](use_cases/import_from_testlink)\n\n## Contact\n\nAny questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's.\nFor Xray specific questions, please contact [Xray's support team](https://jira.getxray.app/servicedesk/customer/portal/2).\n\n## References\n\n- [Xray server/DC REST API](https://docs.getxray.app/display/XRAY/REST+API)\n- [Xray cloud REST API](https://docs.getxray.app/display/XRAYCLOUD/REST+API)\n- [Xray cloud GraphQL API](https://docs.getxray.app/display/XRAYCLOUD/GraphQL+API)\n\n## LICENSE\n\n[BSD 3-Clause](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Fxray-code-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxray-app%2Fxray-code-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Fxray-code-snippets/lists"}