ContributionsMost RecentMost LikesSolutionsIs 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. :) documented Zephyr Scale Cloud API docs: https://support.smartbear.com/zephyr-scale-cloud/api-docs/ example: https://api.zephyrscale.smartbear.com/v2/testcases/CQ-T420 --header "Authorization: Bearer ${bearer_token}" undocumented Jira plugin (TM4J): none? e.g.: https://app.tm4j.smartbear.com/backend/rest/tests/2.0/testcase/CQ-T420/history --header "Authorization: JWT ${jwt}" Re: Zephyr Squad or Zephyr Scale? We have thousands of tests in Zephyr Scale, across ~5 Jira projects. Trying to manage so many test cases is quite clumsy in Zephyr Scale. We are considering moving to Zephyr Enterprise. Re: How to display Zephyer Scale for JIRA Version Is there a way to programmatically `GET` (API) the currenty-running version of Zephyr Scale? To record as metadata for an automation test run. Re: Search for Comments in a Test Case When I looked for similar way to search or filter test cases, it seemed that Comments was a custom field under "customFields" in the JSON returned from the below API call. Also, I could not easily find a way to filter on "customFields" directly in the API call. Now I'm exporing importing the data locally and doing offline "chat with data" filtering. https://api.zephyrscale.smartbear.com/v2/testcases?projectKey=BLAH&maxResults=9 Re: POST jUnit.xml results file to Zephyr I'm looking for actual code samples that work. We found it difficult to get the Python code working, due to the complex Form POST fields required for instance `folderId`. Maybe my question is more of a Zephyr question. I'll look in Zephyr Scale Questions Re: When searching in Test Execution need column for Folder path I would love the capability of searching by Folder path. We have thousands of test cases, and it is getting hard to track them. This was marked "Implemented' on 2024-02-20 but my Zephyr Scale doesn't seem to have this feature as of 2024-05-08. I don't see this documented in https://support.smartbear.com/zephyr-scale-cloud/docs/en/get-started/working-with-folders.html Re: Be able to allow testcomplete to add the results to Folders under a Test Cycle in Zephyr This feature was added in a newer version of the Zephyr API. See the docs at https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createJUnitExecutions --noting especially the `folderId` JSON in the testcycle form field. POST jUnit.xml results file to Zephyr Can a TestComplete project be coded to automatically POST jUnit.xml results file to Zephyr after any/all tests are ran? The docs at TestComplete with Zephyr Scale | SmartBear Community show an example of a `curl` command. But that seems a little funny to drop to shell, when we can code inside the test suite. SolvedRe: Ignoring Runtime Error Are you using keyword tests or scripting? By "cause an error" do you mean the array did not contain the expected elements? Or that the test crashed with an unhandled exception? Re: Javascript parameter issue following fail in TestExecution Can you declare and populate the variable in the keyword test? Then the second script should not fail if the first one did not update the value?