Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Update XRAY Test attributes at the time of bulk import

Manas Chatterjee
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!
January 26, 2022

Hello Jira Service team,

We are using following command to upload Robot Framework results -

curl -H "Content-Type:multipart/form-data" -u <uid>:<pwd> -F "file=@output.xml" https://<server URL>/rest/raven/1.0/import/execution/robot?testExecKey=<test execution key>

Although XRay test cases are created in the test execution but some the fields in test cases are not updated during this  import. We have to manually update the values . Since number of Test cases is in  hundreds , this manual effort is huge.

Following fields we are expecting to modify -

  • Description
  • Component/s:
  • Affects Version/s:
  • Please suggest

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2022

Hi @Manas Chatterjee 

Please use the multipart endpoint (https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST#ImportExecutionResultsREST-RobotFrameworkXMLresultsMultipart), which allows you to send additional files, to set up information for other custom fields.

In these additional files, you can set the value for Description, Component/s, etc.

Please contact Xray Support (http://Xraysupport.getXray.app) if you need further help.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events