Why are test steps or BDD scripts not visible in Zephyr Scale UI when created via API?
Hello Zephyr Community, I am automating test case creation in Zephyr Scale Cloud using the REST API. My workflow generates test cases with either “Step by Step” steps or BDD-Gherkin scripts (using testScript.type = "GHERKIN" and a “text” field). The API call succeeds and the test case is created, but in the Zephyr UI, the “Test Script” section either shows as “Step by Step” with no steps, or as “BDD-Gherkin” with no script visible. If I manually set the script type and paste the steps or Gherkin scenario in the UI, everything displays as expected. Questions: Is there a known limitation or required configuration for making test steps or BDD scripts visible in the UI when creating/updating test cases via API? Are there any required fields or payload formats to ensure the UI displays the steps or Gherkin script? Is there a workaround to automate this fully, or is manual intervention always required after API creation?43Views0likes0CommentsZephyr scale advanced search option limitation
Hello All, We have recently moved from zephyr squad to scale and with this change, all our jira dashboards stopped working as Scale does not support jql anymore. Infact, Zephyr scale does not have any advanced search option like zql to write query that gives flexibility and same can be reuse in creating gadgets. We use labels in Jira and Zephr scale and the problem is here, for a multiple value field filtering works in 'OR' case and there is no provision to use the same field in 'AND' condition. We are stuck in deriving certain KPIs like automation coverage, Automated cases as we manage those using labels. If anyone figure out solutions for this search limitation, please let me know.70Views1like0CommentsNeed help with Zypher gadget /Graph for Test execution
Hi , I am using Zephyr Squad - Test Management for JIRA 16308 Users: COMMERCIAL License. I am trying to get Total test cases for all cycles as overall and its % completion and % execution in gadget as count or as matrix table. The Zephyr graph below shows testcases but its grouped by cycle or components. I want to show overall % for test execution and test completion (for single version TestPOC) Is there a way to show total sum on column wise or row wise and also % completion and % execution based on formula .... Thanks in advance for your help and support!!76Views0likes0Commentsmicrosoft SSO login test using zephyr no code automation
Hi everyone, As an SDET, I am trying to test the microsoft SSO login flow using zephyr scale no code automation. Problem statement- not able to use "manual intervention" or "wait till I auhthenticate", so that I can enter the input manually for the passcode or authenticate using my microsoft authenticator app. Please provide me a better solution, so that I can use no code automation without fail.61Views0likes0CommentsAdded Bulk Test cases were not displayed in the list all the time until we refresh the page.
I found a bug in the test cases section. Is it a bug for others in the community or Only me? I am a tester and just started learning Zephyr and found this bug: Adding a test cases was going smooth as expected. And when you add bulk test cases then it also goes smooth. But when you open any test case and came back to test cases library then those new bulk test cases are not displayed in the list. I refreshed the screen then it appeared back. So I tested same again and again, it is happening same every single time that test cases are missing until refresh. My Observations: In this first picture, I have added t3, t4, t5 as bulk then I did one clone t6. then I opened a test case and came back to library. In the second picture, thats the actual result. Now, Until I refresh the screen it does not display those added bulk test cases. Then repeat the same actions (open any test case and come back to library and observed same).87Views1like1CommentCoverage report filtering by issues and label?
Hi, I'm trying to generate a coverage report for automated tests against user stories. However, I need to filter both by jira issues and zephyr test cases. Not all user stories will be covered by auto tests - we add an 'auto-test' (jira) label to the stories we want to cover. Also, stories can be linked to both manual and auto tests cases - the auto test cases will have the 'auto-test' (zephyr) label. So I can use the 'filter by issues' option to show coverage of the user stories selected for automated coverage, but that will include manual test cases which I want to filter out. Or I can use the 'filter by label' which will show coverage of automated test cases, but this won't show any user stories selected for automation that have 0 coverage. Is there a way to combine these filters, to show coverage of auto tests against user stories marked for automation, including stories with 0 coverage?Solved101Views0likes3CommentsNeed more query parameters on Zephyr REST API
When can we expect the Zephyr REST API to be updated with additional query parameters? At the moment it only supports four, which is far too limited for practical use. Specifically, we need the ability to query by custom fields and labels. Right now, we’re forced to pull all available data and then filter it ourselves, which is both inefficient and significantly impacts response times. A more scalable approach would be to allow direct queries for the specific items we need, reducing unnecessary overhead and making the API far more usable at scale. I can see that there are (Next Gen) versions coming but they lack the query parameters that day to day users actually need to be efficient. Please fix this.50Views0likes0CommentsUse Zephyr Scale Cloud API to add existing test cases to and newly created test cycle.
I am attempting to do this via powershell script in teamcity but I am getting a 404 when it attempts to add the testcase to the testcycle. I cannot for the life of me figure out why it is not working. any help is appreciated. # ----------------------------- # Create test cycle # ----------------------------- try { $createResp = Invoke-RestMethod -Uri $TestCycleEndpoint -Method POST -Headers $headers -Body ($body | ConvertTo-Json -Depth 5) $testCycleKey = $createResp.key Write-Host "✅ Created Zephyr Scale test cycle: $testCycleKey (linked to $($env:ZS_LINKED_ISSUE))" } catch { $errResponse = $_.Exception.Response if ($errResponse -ne $null) { $reader = New-Object System.IO.StreamReader($errResponse.GetResponseStream()) $responseBody = $reader.ReadToEnd() Write-Error "❌ Failed to create Zephyr Scale test cycle: $($_.Exception.Message)`nResponse: $responseBody" } else { Write-Error "❌ Failed: $($_.Exception.Message)" } exit 1 } # ----------------------------- # Add mapped test cases to the cycle # ----------------------------- $cycleTestCases = @() foreach ($rxName in $TestCaseMapping.Keys) { $cycleTestCases += @{ testCaseKey = $TestCaseMapping[$rxName] } } $addCasesEndpoint = "https://api.zephyrscale.smartbear.com/v2/testcycles/$testCycleKey/testcases" $addCasesBody = @{ items = $cycleTestCases } try { Invoke-RestMethod -Uri $addCasesEndpoint -Method POST -Headers $headers -Body ($addCasesBody | ConvertTo-Json -Depth 5 -Compress) Write-Host "✅ Added $($cycleTestCases.Count) test cases into cycle $testCycleKey" } catch { Write-Error "❌ Failed to add test cases into cycle ${testCycleKey}: $($_.Exception.Message)" exit 1 }138Views0likes1Comment