Where is the POST stepresult API?
Hi, I started working in a project to migrate my Zephyr integration from Server to Cloud.
In my original setup, I used to create step results manually by calling POST stepresult API to later update them with the existing PUT stepresult API.
But I no longer seem to find this API anymore so, is there any other way to create a stepresult manually?
It's worth to mention I'm already calling the GET stepresult/search API with execution id parameter and that indeed is bringing a response but the stepResults[] section is empty.
Any help will be truly appreciated, thanks.
Alright, as usual, given there are pretty much no answers across the whole internet, the support team seems to no longer be around, and because the official documentation does not mention it at all, I will post what I was able to find and fix all by myself:
The create stepresults API is no longer available, but there is still a way to create them and, although documentation does not mention it in here:
https://zephyrsquad.docs.apiary.io/#reference/execution/get-execution/get-execution
The GET execution API, for some strange reason, creates the stepresult objects for whatever number of teststeps you already have tied to that execution, issue and project ids.
This means you have to run this API before trying to get stepresults to update the teststep status.
Hope this answer helps anyone that had the same issue as me.