Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there any way to add an attachment in xml report?


Hi! Does Xray provide any possibility to add an attachment to the execution result in XML? I can create my own implementation of a reporter, but I don't know the valid format of XML for Xray API

I think I can do something like this:

<testsuites disabled="0" errors="0" failures="0" tests="1" time="31.39">
<testsuite name="test" timestamp="2021-03-15T21:20:27" hostname="localhost" time="31.39"
errors="0" tests="1" skipped="0" disabled="0" failures="0">
<testcase classname="test" name="test"

 But I don't sure what the format is valid?

1 answer

Hi @Alexander Chako 

It is possible depending on the report format used, and it will be necessary to convert the attached file into Base64 format.

Please check the examples in our documentation here.

If you need further help, please contact the Xray Support ( so that we can request additional information and help you further.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

336 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you