Forums

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

Upload attachment using XRAY REST API

anonymous developer
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!
October 7, 2018

I am trying to upload a word document from my local to Jira using XRAY.

 

{"tests":[{"start":"2018-10-08T00:52:28-04:00","finish":"2018-10-08T00:52:51-04:00","testKey":"123","evidences":{"filename:":"D:\\6thOct\\output\\Default.docx","contentType:":"plain\\text","data:":"(BASE64 encoding)"},"status":"PASS"},{"start":"2018-10-08T00:52:52-04:00","finish":"2018-10-08T00:52:56-04:00","testKey":"1234","evidences":{"filename:":"D:\\6thOct\\output\\Default.docx","contentType:":"plain\\text","data:":"(BASE64 encoding)"},"status":"PASS"}],"info":{"summary":"Test Results","testPlanKey":"12345"}}

 

I see the results getting updated but unfortunately attachments are not uploaded 

1 answer

1 vote
Gonchik Tsymzhitov
Community Champion
October 23, 2018

Hi! 

Have you tried to submit the support request into app vendor service desk

https://marketplace.atlassian.com/apps/1211769/xray-test-management-for-jira?tab=support

Because more correct way get answer about that.

Hope it helps

 

 

Cheers.

Gonchik Tsymzhitov

Saurabh Gupta July 11, 2019

Cant anyone post answer here. It is not getting resolve in my case. Do i need to pass all base 64 conversion string of image (in my case) or only "data:":"(BASE64 encoding)"} as above mentioned?

Suggest an answer

Log in or Sign up to answer