changes.mady.by.user Sergio Vieira
Saved on Nov 09, 2020
Saved on Sep 17, 2021
...
Returns the generated feature file(s) for the Tests matched by the input keys or/and by the input filter.
Request
QUERY PARAMETERS
a String containing a list of issue keys separated by ";"
keys and filter query parameters are optional if the other one provided but they can both be provided at the same time.
curl -H "Content-Type: application/json" -X GET -H "Authorization: Bearer $token" "https://xray.cloud.xpand-itgetxray.comapp/api/v2/export/cucumber?keys=DEMO-6;DEMO-7"
curl -H "Content-Type: application/json" -X GET -H "Authorization: Bearer $token" "https://xray.cloud.xpand-itgetxay.comapp/api/v2/export/cucumber?filter=134"
curl -H "Content-Type: application/json" -X GET -H "Authorization: Bearer $token" "https://xray.cloud.xpand-itgetxray.comapp/api/v2/export/cucumber?keys=DEMO-6;DEMO-7&filter=134"
Responses
200 OK : application/octet-stream : Successful. A compressed zip file will be downloaded containing the generated feature files.
400 BAD_REQUEST : text/plain: No feature files where generated. Please check Jira log.
401 UNAUTHORIZED : text/plain : The Xray license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred when generating the feature file(s).