XrayExportBuilder - issueKeys

Karl Hudgell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 8, 2019

I'm trying to export feature files using issueKeys, in my pipeline I have this step..

 

step([ $class: 'XrayExportBuilder', filePath: 'tests/API/features/', keys: 'VA-1332', serverInstance: SERVER_INSTANCE ])

 

but it reports - 

ERROR: Unable to download features: Please provide the issue keys or filter ID

 

If I use the REST api with /rest/raven/1.0/export/test?keys=VA-1332

Then the features are exported correctly, I can't work out what to do, as the documentation doesn't appear to align to the required pipeline fields on here

 

Thanks

 

1 answer

1 accepted

0 votes
Answer accepted
Karl Hudgell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2019

step([ $class: 'XrayExportBuilder', filePath: 'tests/API/features/', issues: 'VA-1332'serverInstance:SERVER_INSTANCE ])

 

issues is the correct field to use.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events