Where is the POST stepresult API?
- 9 months ago
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.