Forums

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

XRAY API to generate Test Result in PDF format

Sumit Tyagi April 1, 2025

 

XRAY API to generate Test Result in PDF format

Hi Team,

I want to generate the Test Report of the XRAY Test Execution using the API in my Test automation suite, But am not able to find any API's which can generate the test reports to share with the stake holder.

Please help me.

Thanks
Sumit

4 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Janis Plume _eazyBI_
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.
August 6, 2025

Hi,

 

If you might consider another app for reporting, you may wish to check how the eazyBI app for Jira works. It has integration with the Xray and PDF export capability:

https://docs.eazybi.com/eazybi/data-import/data-from-jira-apps/xray-test-management

 

Kindly,

Janis, eazyBI support

0 votes
Aron Gombas _Midori_
Community Champion
August 6, 2025

@Sumit Tyagi You can create every sort of Xray test reports in PDF format using the Better PDF Exporter app.

A sample test execution report looks like this (PDF version). It contains the tests executed and the test runs in addition to other work item fields.

jira-cloud-pdf-export-xray-test-execution-with-test-runs.png

Plus, there is a free PDF automation app which integrates the PDF report capability to the standard Jira automation rules. You can use this to create the report and email it to the stake holder totally automatically!

(Discl. the first app is paid, the second is free, both developed and supported by our team.)

0 votes
Francisco Fonseca _Xray_
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.
April 8, 2025

Hi @Sumit Tyagi ,

 

Have you tried using document generator for that? We have a specific report called "Test Execution Report" in which you can include attachments as well. 

Please see: Text Execution Report 

additionaly you can try and make use of GraphQL, and use an API call for it.

Please see: GraphQL 

Should any question arise, make sure to reach out to our support here.

Best, Francisco

0 votes
Florian Bonniec
Community Champion
April 1, 2025

Hi @Sumit Tyagi 

 

Based on the documentation there is no such endpoint.

https://docs.getxray.app/display/XRAYCLOUD/REST+API

Regards

Sumit Tyagi April 4, 2025

@Florian Bonniec ,

Is there we can publish or extract the Report and share it via automation to the team?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events