You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
We are trying to import cucumber tests that we already have developed into the Xray project that exists in our JIRA cloud.
We are following the information present on Importing Cucumber Tests - REST
The authentication is done using the client_id/client_secret with the following command:
curl -H "Content-Type: application/json" -X POST --data '{"client_id": "<client_id>","client_secret": "<client_secret>"}' https://xray.cloud.xpand-it.com/api/v1/authenticate
which returns the authentication token.
Then we try to import an existing and simple feature file by using the rest api:
curl -H "Content-Type: multipart/form-data" -X POST -H "Authorization: Bearer <token>" -F "file=@<absolute path>/xray.feature" https://xray.cloud.xpand-it.com/api/v1/import/feature?projectKey=<our xray project key> -v
The response is "The file is required".
We have tried multiple ways but the response is always the same and there's no clue regarding what's wrong.
Any help regarding this would be very appreciated.
Thanks,
Curl version:
curl 7.64.1 (x86_64-apple-darwin19.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.39.2
The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events