How do I load test cases from a CSV into a JIRA Xray repository using Python?

I am attempting to load test cases from a CSV file into the JIRA Xray test repository using Python, but every execution returns a server error (500). My current implementation uses a Personal Access Token to authenticate with JIRA while interacting with the REST API. Despite the authentication working, the test cases are not being imported as expected. Has anyone encountered a similar issue or can provide guidance on modifying the approach to successfully add test cases?

hey, i had a similar issue. double-check your CSV structure matches xray requirements, some fields might be misinterpreted. also make sure your access token has enough rights for the newer endpoints. a small mismatch can trigger a 500 error :confused: