Forum Discussion

markos's avatar
markos
Occasional Contributor
2 months ago

Is there an API for retrieving test case History in Zephyr Scale?

I am trying to recover from a "bulk edit" done in the Zephyr Scale UI, where I changed a multi-select custom field for a few hundred test cases. Now I want to restore the original value, which I can see in the History tab. It will take many hours/days to revert manually. So I seek an API method.

But there seem to be 2 APIs. The documented API doesn't seem to have history retrieval. Unless it is undocumented. :)

  1. documented Zephyr Scale Cloud API docs: https://support.smartbear.com/zephyr-scale-cloud/api-docs/
    1. example: https://api.zephyrscale.smartbear.com/v2/testcases/CQ-T420
    2. --header "Authorization: Bearer ${bearer_token}"
  2. undocumented Jira plugin (TM4J): none?
    1. e.g.: https://app.tm4j.smartbear.com/backend/rest/tests/2.0/testcase/CQ-T420/history
    2. --header "Authorization: JWT ${jwt}"
No RepliesBe the first to reply