Add a new Test Cases into Newly created Test Cycle via API
Hello all, I would like to know how should I add a new test cases into created Test Cycle. In short I already created a test cycle through API, now I want to add a new test cases into the cycle. Note that the whole project is new so no test are present. This is what I want to do. I have several API tests in my Java project. Before the run I create the test cycle (which is working fine), after the creation I execute those API tests and after that I would like to create the text case into the previously created test cycle and send the status (pass or fail). I am getting the API endpoints from the following site: https://zfjcloud.docs.apiary.io/#reference/execution/add-tests-to-folder/create-execution Is it possible in that way? Is there an option to do that? How can I create these test cases in the test cycle? PS: I use Postman for now Thanks for the tips850Views0likes1CommentZephyr Squad Cloud –for Test Cycle startDate and endDate mismatch in API response via HttpClient
Description: Inconsistency in the Cycle entity response from Zephyr Cloud (Zephyr Squad) When I create a cycle with startDate = 2025-10-31 and then fetch it through Postman, the response shows the correct dates: API: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycles/search?projectId=10381&versionId=28634 Response from Postman: { "createdByAccountId": "5b03e4117409772b3a334df7", "endDate": "2025-11-01", "tenantKey": "ODVkM2E4ODEtMmZiNi0zMzRhLWI4NzEtODZhNzgyNmVmMmRk", "description": "", "cycleIndex": "6c11fb8a-19b6-4d05-8d23-84806383b41c", "creationDate": "2025-10-31", "projectCycleVersionIndex": "10381_28634", "environment": "", "versionId": 28634, "build": "", "createdBy": "5b03e4117409772b3a334df7", "name": "cycle2", "id": "6c11fb8a-19b6-4d05-8d23-84806383b41c", "projectId": 10381, "startDate": "2025-10-31" } However, when I fetch the same cycle through my Java code using Apache HttpClient, the same API returns the following: Response from Java HttpClient: { "build": "", "createdBy": "5b03e4117409772b3a334df7", "createdByAccountId": "5b03e4117409772b3a334df7", "creationDate": "2025-10-31", "cycleIndex": "6c11fb8a-19b6-4d05-8d23-84806383b41c", "description": "", "endDate": "2025-10-31", "environment": "", "id": "6c11fb8a-19b6-4d05-8d23-84806383b41c", "name": "cycle2", "projectCycleVersionIndex": "10381_28634", "projectId": 10381, "startDate": "2025-10-30", "tenantKey": "ODVkM2E4ODEtMmZiNi0zMzRhLWI4NzEtODZhNzgyNmVmMmRk", "versionId": 28634 } As seen, the creationDate remains the same (2025-10-31) in both, but startDate and endDate are shifted by one day only in the Java client response. The same happens consistently across cycles. I have verified all headers and request parameters — both requests are identical. Since this is Zephyr Cloud, timezone differences shouldn’t normally affect the data, but the shift seems to occur only for startDate and endDate, not for creationDate. It looks like these fields might be internally handled differently (possibly as UTC timestamps), leading to the shift after deserialization. Requesting confirmation on whether Zephyr Cloud stores or serializes startDate and endDate differently from creationDate, and if any recent update could have caused this difference in behavior.23Views0likes0CommentsZephyr squad api
I have my own google script that i want to use to access zephyr's api. I was able to generate the jwt token as described and using the access key id I tried to send a GET request but it seems I don't have the full correct URL I am supposed to hit as I get a "API not found" I know this https://prod-api.zephyr4jiracloud.com/connect/ works but the below doesn't seem to work and returns "API not found": 1. https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle?projectId=123&versionId=-1 2. https://prod-play.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle?projectId=11623&versionId=-1 NOTE this I tried with -play instead of -api. Anyone knows what the correct url is?83Views0likes1CommentCannot change status of test execution
Hi, We are trying to, pramamaticatly, and following the "Zephyr Essential DC REST API" to execute a test and update the status in our JIRA DC, but we are not able to do it. This is what we did: https://support.smartbear.com/zephyr-essential-dc/docs/en/zephyr-squad-server-rest-api.html 0.- Create a Test JIRA issueKey = "TEST-0001" issueId = "2944969" 1.- Add steps to a test stepID = "1415912" 2.- Create test cycles cycleId = "14931" 3.- Add folders to a cycle folderId = "33735" 4.- Add tests to a cycle executionId = "3392716" 5.- Get test execution properties {"execution":{"id":3392716,"orderId":3179332,"executionStatus":"4","executionWorkflowStatus":null,"executedOn":"12/Jul/25 8:13 AM","executedOnVal":1752329580000,"executedBy":"xxxxxx","executedByDisplay":"XXXX XXXXX","comment":"","htmlComment":"","cycleId":14931,"cycleName":"Generic PD Test Cycle Saturday","versionId":-1,"versionName":"Unscheduled","projectId":20442,"createdBy":"xxxxx","createdByDisplay":"XXXXX XXXXX","createdByUserName":"xxxxxxx","modifiedBy":"xxxxxx","createdOn":"12/Jul/25 7:58 AM","createdOnVal":1752328680000,"issueId":2944969,"issueKey":"TEST-0001","Feature E Test 2 - Automated","issueDescription":"<p>Test Description<\/p>","label":"","component":"","projectKey":"TEST","canViewIssue":true,"isIssueEstimateNil":true,"isExecutionWorkflowEnabled":true,"isTimeTrackingEnabled":true,"executionDefectCount":0,"stepDefectCount":0,"totalDefectCount":0,"customFields":"{}"}} 6.- Update test step status (Trying with stepId/executionId) stepID = "1415912" status = "1" {"error":"Workflow state is completed, data cannot be modified."} executionId = "3392716" status = "1" {"generic":"Error executing test. Please correct the input and try again."} 7.- Update test execution status Id = 205, Status = WaitingForActivation What are we doing wrong? Any help would be appreciated. Francisco50Views0likes0CommentsZephyr Essential?
Hi everyone. We're having the same API issues as everyone else. We spoke with our OPS team and they are telling us the product is now called Zephyr Essential. I see almost no mention of that product the site, but did find a page that mentioned it has enhanced API functionality. So I'd assume there are new API endpoints for this? Anyone know what's going on here?131Views0likes0CommentsWhat are the rate limits of the API?
Since March 8, 2025 we have been getting HTTP 429 responses on rest/api/1.0/cycles/search. There is a page in documentation about that, but it does not contain the actual limits - https://support.smartbear.com/zephyr-squad-cloud-v1/docs/en/zephyr-squad-cloud-rest-api/api-rate-limiting-guide.html Also, the 429 responses contain retry-after header, but the value is always 0. Of course, if I retry immediately, it fails again the same way. I tried implementing exponential backoff, but even 120 second delay was not enough. Which seems contradictory to the documentation that describes limits as per minute. Has anyone discovered what the actual limits are? Janis Vanags Developer, eazyBI288Views0likes1CommentAdd attachment(s) to the Test Case, Step, Test Data, Expected Result via REST
Hi. Background We are migrating from a different test management tool to Zephyr Squad. Currently using the JIRA plugin version 1.3.30-AC. All data from the source tool is available in our file system. We plan to utilize the Zephyr Squad REST API (v2.7) for the migration process. (Documentation: Zephyr Squad API v2.7) Please refer to the planned result after our migration below. I was going through the API documentation but couldn’t find any information about handling attachments. Please guide me to achieve this. Thank you! Kind regards!70Views0likes0CommentsHow do I upload evidence(image or video or any results) via API ?
Hi everyone, I am able to change the status of executions and add comments via api, but I also need to add some evidence such as image file, video file, or results.json/txt file. How do I do that ? or is there any way to upload the file programmatically?142Views0likes1CommentZbot configuration
Hello, I have downladed Zepyre Squad, and i want to conduct Selenium Tests using Zbot REST API. i have configured the Zbot according to the README file, but now how do i connect it back to JIRA? there are no Zbots in the Automation Test Zbot Selection Drop Down....269Views1like1Comment