Forums

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

Add attachments to a specific test execution

Patricia Silva
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!
March 25, 2022

Hi,

I'm usig xray cloud and I need to add attachments to a specific test execution using for that rest api.

Can you help me? 

1 answer

0 votes
Stefan Salzl
Community Champion
March 25, 2022

Hi @Patricia Silva and welcome to the community,

xray test execution is a jira native issue. Therefore the jira api would be your choice:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-attachment-id-expand-raw-get

 

As seen in the past the term test execution is often used what is called "test run" in xray (which is the entity within a test execution that is generated for each test case, so the real run of the test case). In this case you would go with the xray api:  

https://docs.getxray.app/display/XRAYCLOUD/Attachments+-+REST+v2

 

Hope this helps.

Best
Stefan

Suggest an answer

Log in or Sign up to answer