Zephyr 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 with Zephyr 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 documentation https://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?
Hi hlackerm ,
I can not reproduce this on our Jira instance. Make sure, you encode all necessary characters for the url. Like this: /testrun/search?query=projectKey%3D%22TESTMGMT%22%20AND%20folder%3D%22%2FTM%2F2023%2FKW%2049%22&fields=key,name
Maybe this helps. Let me know.
Cheers
Josh