Returns the generated feature file(s) for the Tests matched by the input "keys" or/and by the input "filter" and by the input "fz".
Request
QUERY PARAMETERS
parameter
type
description
keys
String
a String containing a list of issue keys separated by ";".When using Xray enterprise, you can specify the test version from which to export the feature file, e.g., CALC-345@v2
filter
Integer
an Integer that represents the filter id
fz
Boolean
a Boolean that indicates if the export of single feature files has to be a compressed zip file
keys and filter query parameters are optional if the other one provided but they can both be provided at the same time. fz query parameter is also optional and its default value is false.
200 OK : application/octet-stream : Successful. A file will be downloaded with the generated feature files. If multiple features where generated the result is a compressed zip file. If it is just a single feature file and the query parameter fz is true, then the result is also a compressed file zip. Otherwise a plain text file will be downloaded.
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).