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
4,294,341
Community Members
 
Community Events
165
Community Groups

Xray not displays steps from import

Hi, Im trying to import test execution using POST /api/v2/import/execution. This is my payload:

{
"info" : {
"summary" : "Execution of automated tests for release v1.3",
"description" : "This execution is automatically created when importing execution results from an external source",
"startDate" : "2014-08-30T11:47:35+01:00",
"finishDate" : "2014-08-30T11:53:00+01:00",
"testEnvironments": ["tst"]
},
"tests" : [
{
"testKey" : "AT-2919",
"start" : "2014-08-30T11:51:00+01:00",
"finish" : "2014-08-30T11:52:30+01:00",
"comment" : "Execution failed. Example #5 FAIL.",
"status" : "FAILED",
"evidences" : [
{
"data": "iVBORw0KGgoAAAANSUhEUgAABkIAAAO9CAYAAADezXv6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEn(...base64 file enconding)",
"filename": "image21.jpg",
"contentType": "image/jpeg"
}
],
"steps": [
{
"status": "PASSED",
"comment": "Comment on Test Step Result 1",
"actualResult" : "Step Passed with Status Code 200"
}
]
}
]
}

It creates execution task but steps are empty:

image.png

Can you please help me and tell what Im going wrong?

1 answer

Hi @KubaKostrzewski 

Does the Test AT-2919 has the steps created? Or is it a Test case without any steps?

If you don't, it is necessary to have the Test case fully created first before importing an Execution.

Thank you.

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
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:...

343 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