Contributions
Re: Zephyr Scale Server API (v1) folder specific /testrun/search returns all test runs of the project
Your understanding is correct in terms of testrun = testcycle. However, the search requires a query which is like "give me all testcycles in the project / folder". An that's what the api docu describes. We do not know the exact test cycle id - for this reason we start the search as we want to connect our test executions with a certain test cycle and they are organized in calendar weeks.1.1KViews0likes0CommentsZephyr Scale Server API (v1) folder specific /testrun/search returns all test runs of the project
We are using ZS version 9.7.0 on Jira data center withZephyr Scale Server API (v1). We have a project (TESTMGMT) with a calendar week based folder structure where we place the different test cycles in. To place the test execution within the right calendar week cycle, we call the /testrun/search with the parameter mentioned in the documentationhttps://support.smartbear.com/zephyr-scale-server/api-docs/v1/ Our GET request looks like this: https://our-jira-url.com/rest/atm/1.0/testrun/search?query=projectKey = "TESTMGMT" AND folder = "/TM/2023/KW 49" This unfortunately does not return the one test cycle in the folder "/TM/2023/KW 49" but instead all test cycles in the project TESTMGMT. Do you have any idea, why the folder part of the query has been ignored?Solved1.2KViews0likes6Comments