Can the default status be updated via REST API?
When attempting to change the "Not Executed" status of a Test Case to "Pass" via "https://api.zephyrscale.smartbear.com/v2/statuses/{statusId}" the following errors is returned.
{"errorCode":400,"message":"The name of default statuses cannot be changed."}
{"errorCode":400,"message":"The index field cannot be changed."}
{"errorCode":400,"message":"A status of this type with this name already exists."}
I tried multiple way of to get statuses to work properly.
- archived defaults
- added my own statuses
- rearranged own statuses ahead of defaults
The only way I can change status via REST API is to first change to own status via web UI, then update via REST API. However, the web UI indications did not work properly. There's not enough detail in the documentation to determine the proper way of updating Test Executions.