We are running Xray test executions and creating bugs on the failure, however comments, actuals and evidence adde to the test during the run do not show up in the bug item in jira when creating the defect from the execution. Does anyone know how to resolve?
Hi @T Parham ,
If I understood you correctly, you are trying to create a 'defect' from execution page of Xray. By default, Xray only takes your test step details to create a new bug. It's by design and Xray is not picking up comment, actual result or evidence as of now.
In such cases, you might think of raising support request to them.
Hope it will help.
Hi @T Parham
We have already a couple of suggestion in backlog to improve Xray:
Please contact the Xray Support (http://xraysupport.xpand-it.com) we would like to know more about your use case and help.
Rogério Paiva [Xray Support Team]
I'm facing the same issue (comments are not added to the tests) when a Test Execution, that has tests, is created on the fly using API.
"comment": "Error: expected 400 \"Bad Request\", got 200 \"OK\". Along with some json string."
"summary": "Automated TestExecution for release V1.2",
"description": "This execution is automatically created when importing execution results from an external source"
It creates the execution and test's status is updated but the comment is not picked-up.
Could you please help me know if that's a known issue. If not, then how could I make sure comment is updated as well.
Hi @Zaid Momin
The comment is added to the Test Run and can be viewed in the Execution Details screen:
And the Test Run only exists if you have two issues, the Test case, and the Test Execution.
So to alter the information in a Test Run, it is necessary to have both keys (The test key and the Test Execution key).
The example you have shown above does not have a Test Execution key, so Xray cannot find the correct Test Run to modify its comment.
Any additional questions, please get in touch with Xray Support (http://Xraysupport.getXray.app); we would gladly assist you.
Rogerio Paiva [Xray Support Team]
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