How to generate JWT TOKEN from Postman
Hi Doug & Team, There seems to be some confusion. Kindly help me out here as soon as possible. My issue is How to generate JWT token from Postman itself. I have SecretKey, access Key, AccoutnId, Zephyr base URL also. Please just guide me how to use these details to generate JWT token from Postman. I am not talking about usage of the JWT TOKEN. I am asking about the process of generating JWT token via Postman. Thank you2.3KViews0likes5CommentsNot able to get the Cycle, Execution ID using Zephyr squad Rest APIs
I have created JWT from postman using URL https://prod-vortexapi.zephyr4jiracloud.com/api/v1/jwt/generate post request by putting accessKey, secretKey, and accountId as header. I am trying to access the https://prod-play.zephyr4jiracloud.com/connect/public/rest/api/1.0/executions/search/cycle/ but gett an error as {"error": "API not found."} Please help i need to fetch all latest cycle and test cases execution id to execute and after that i need to update the test cases status.30Views0likes0CommentsAdding test steps to Jira issue via API
Hello all, we are migrating our RQM tests into Jira thru API calls. I can create the "test" issues correctly in Jira, but I've been unable to add the test steps using the Zephyr API calls. I've worked thru different stopping points, but now I'm just getting an 'Unauthorized' error back regardless of what key value I put in the Bearer type authorization in the http call. Has anyone done this successfully, or used another method for a similar migration? Thanks!32Views0likes0Comments"Internal Server Error" 500 code on using Save and Execute API
I have been getting an "Internal Server Error" (500 code) whenever I'm trying to use the save and execute API ( https://prod-vortexapi.zephyr4jiracloud.com/api/v1/automation/job/saveAndExecute) to upload the test execution reports. Here is an example of my request header and body: Request Header: { accessKey:{{accessKey}} jwt:{{JWT_Token}} secretKey:{{secretKey}} accountID:{{accountId}} } Request Body: { jobName:New Task jobDescription:New Task Desc automationFramework:Cucumber versionName:Unscheduled cycleName:AtestCycle createNewCycle:true appendDateTimeInCycleName:false folderName:Windows createNewFolder:false appendDateTimeInFolderName:false assigneeUser:{{accountId}} mandatoryFields:'{\"components\":[{\"label\":\"my component\",\"value\":\"my component\",\"content\":\"my component\"}],{\"reporter\":{\"label\":\"Jaya Kushwaha\",\"name\":\"Jaya Kushwaha\",\"id\":\"{{accountId}}\"}} automationVia:Upload projectKey:CC assigneeDisplayName:Jaya Kushwaha cycleStartDate:01/11/23 cycleEndDate:01/11/23 } Making this API call would result in the creation of the job on the U.I. but it is neither able to upload the cucumber report nor create the test cycle.201Views0likes2CommentsNeed help on Test Executions based on Cycle Zephyr Squad Cloud API
The API documentation for these two end points is terrible. https://zephyrsquad.docs.apiary.io/#reference/execution/get-list-of-executions-by-cycle/get-list-of- ... vs. https://zephyrsquad.docs.apiary.io/#reference/execution/get-list-of-executions-by-cycle-v2/get-list-... Specifically, there is no information provided for the following parameters: - expand "expand of Execution" String - sortOrder "sortOrder of Execution" String - action "action of Execution" String - sortBy "sortBy of Execution" String Can anyone refer me to something with more information? I'm specifically wondering about expand and action. This is the URL I am hitting: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/2.0/executions/search/cycle/f17f69af-02fc-4cdc-863a-bdbd4fa5a66b?versionId=16729&projectId=10087 I have even given necessary headers like Zapi access key and jwt token. Still unable to authenticate. MartiLobosanupdamodaranpls help! Screenshot attached. Pls note: My JWT token generation is working fine for other API endpoints but only for the above API its not working. Also I am unable to generate JWT sepcifically for the above API even after providing versionId, ProjectId,CycleID correctly. I need resolution on this urgently.171Views0likes1CommentZephyr SQUAP Rest API to expoert execution not exporting csv in correct format
Hi, I am using Zephyr Squad REST API to export test cycle with all test & steps. I tried with both Rest API endpoints to extract the file & I am able to extract the csv https://zephyrsquad.docs.apiary.io/#reference/execution/export-executions/export-executions?console=1 https://zephyrsquad.docs.apiary.io/#reference/cycle/export-cycle/export-cycle?console=1 Issue is that csv extracted using these end points is getting distorted as shown in SS below. After Priority Column, there is "Executed By" for which value is appearing in Date format which is obviously not correct and also a new line is inserted in csv after priority field. This is how it looks like in Excel:79Views0likes0CommentsaddTestsToCycle REST API error in Zephyr for Jira (Zephyr Quad?)
Purpose I would like to add each test to a cylce in excel continuously. Excel data input format --------------------------------------------- testcase issuekey| --------------------------------------------- testcase-01 testcase-02 ... --------------------------------------------- My script For i = 1 To End Of Excel Rows body = { "method": 1, "projectId": "123456", "versionId": "654321", "cycleId": "789100" "issues": [excel.Cells(i, 1)] } POSThttp://myzephyrhost/rest/zapi/latest/execution/addTestsToCycle/ End For Results Only first request is success,. only "testcase-01" is added to cycle. but from 2nd request in For loop, addTestsToCycle does not works and "testcase-02", .... were not added to cycle. Question How Can I solve this error?108Views0likes1CommentTest Steps Comment in the Test Execution
Hello, I am looking for details on getting comments from the Test Execition's Test Steps via API for Zephyr Squad. Is this even possible? Help would be greatly appreciated as this is for our tool to migrate from Squad to Scale. Kind regards, MB207Views0likes1CommentJIRA Test case execution
Hi Team, I need to integrate JIRA zephyr squad with my application. I want to automate the process of test case execution and cycle execution. Can you please guide me, how to do that? I have tried something and posted on the Zephyr Squad community link is given below https://community.developer.atlassian.com/t/zephyr-squad-cloud-rest-api-integration-is-not-working-for-me/74639/2 Please give me step by step approach to do it. Thanks, Akhtar120Views0likes1Comment