We actuly update xray test cases by doing a curl with JIRA username and password.
curl -H "Content-Type: application/json" -X POST -u JIRAUSERNAME:JIRAPASSWORD --data @"reports/cucumber.json" https://my.jira-url.com/rest/raven/1.0/import/execution/cucumber
Is there a way to use jira api tocken or some other kind of API key to avoid using username:password ?