ContributionsMost RecentMost LikesSolutionsGenerate JWT tokens without using bloated zfj-cloud-rest-client-1.2-jar-with-dependencies.zip I'm trying to communicate with the Zephyr REST API. I'm creating test suites, test executions, etc. It works fine except I'm currently using the bloated zfj-cloud-rest-client-1.2-jar-with-dependencies.zip as a dependency with the ZFJCloudRestClient class. As folks are likely aware, I had to manually install this zip into my maven repo in order to get it to work since it's not available in any centralized maven repo, which is super gross. Additionally, the contents of the zip include a BUNCH of crap that looks unrelated to the single generateJWT() method I'm using. I've also tried to use this jar (https://github.com/jenkinsci/zephyr-for-jira-test-management-plugin/blob/master/src/main/resources/zfj-cloud-rest-client-3.0.jar), but it seems to be missing dependencies and uses some weird typesafe.play classes. Why is this so hard? It seems to me that there has to be a fairly strait-forward way to create these JWT tokens if we understood what params and such were needed. The code shown on this page, https://developer.atlassian.com/cloud/jira/platform/understanding-jwt-for-connect-apps/, is nearly it, but I haven't been able to get that approach to work either. I'm hoping someone out there has solved this. Re: Try to authentificate with JWT Did you ever get an answer about where to go for support nowadays? Get List of Executions by Cycle parameters 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-executions-by-cycle-v1 vs. https://zephyrsquad.docs.apiary.io/#reference/execution/get-list-of-executions-by-cycle-v2/get-list-of-executions-by-cycle-v2 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. Get Cycle API help - expandos I'm using the Get Cycle API call (https://zephyrsquad.docs.apiary.io/#reference/cycle/get-cycle/get-cycle). According to the API docs: "Get Cycle Returns a full representation of the Cycle for the given version. An Cycle JSON consists of the cycle details and an expandos driven executionSummaries for the cycle." What does "expandos" mean? I've managed to gather that I can pass the request parameter "expand=executionSummaries" to see some details, but not everything I need. I'm hoping to be able to retrieve the list of tests (either issueIds or issueKeys) within the test cycle. Is there somewhere that better explains the values that users can pass in this request parameter? Here's the response I'm currently getting back: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle/a36fcf4a-7306-4423-a66a-07f872fbb5c4?versionId=35633&projectId=17166&expand=executionSummaries Response body: { "totalExecutionTime" : 0, "folders" : { }, "createdByAccountId" : "557058:4d0b4c7d-d719-4e5c-97dc-9f74a6549565", "totalLoggedTime" : 0, "offset" : "0", "totalExecutions" : 19, "description" : "Created by ZAPI CLOUD API", "cycleIndex" : "a36fcf4a-7306-4423-a66a-07f872fbb5c4", "totalExecuted" : 0, "creationDate" : "2021-12-20", "projectCycleVersionIndex" : "17166_35633", "executionsAwaitingLog" : 19, "versionId" : 35633, "totalDefects" : 0, "createdBy" : "557058:4d0b4c7d-d719-4e5c-97dc-9f74a6549565", "totalLoggedTimeFormatted" : "0m", "name" : "2021-12-2009:48:49 Test Cycle -- API DEMO", "totalExecutionTimeFormatted" : "0m", "action" : "collapse", "totalFolders" : 0, "id" : "a36fcf4a-7306-4423-a66a-07f872fbb5c4", "projectId" : 17166, "startDate" : "2021-12-20", "executionSummaries" : [ { "executionStatusKey" : -1, "count" : 19, "executionStatusName" : "UNEXECUTED", "executionStatusDescription" : "The test has not yet been executed.", "executionStatusColor" : "#A0A0A0" } ] } Re: Zephyr Jira Cloud API - Update execution Are you by chance passing the issueKey value (e.g. "XYZ-1234") instead of the issueId value (e.g. "456789")? I ask because that was the cause of an issue I've had. Re: `status` param ignored when creating execution via API I've realized that the issue I was having had to do with this: "issueId" : "AMP-1207", I was passing the issueKey value instead of the issueId value. -1 for acceptable error messages. Re: Zephyr Cloud API - automated creation of execution What does your status object look like by chance? Re: `status` param ignored when creating execution via API I too am trying to create executions using the same endpoint. Here's an example of the request payload I'm sending: { "versionId" : 35633, "issueId" : "AMP-1207", "cycleId" : "5932d36c-03da-44b2-ae74-40655ba71dd0", "projectId" : 17166, "status" : { "id" : 1 } } However the response I get (with a 500 response code) is: { "errorType" : "ERROR", "errorCode" : 104, "clientMessage" : "We encountered some problems during processing this request. Please try again!" } Re: Job API indicator Wow! It's been 5 months since I asked my question and still no response. I had set this work aside since I was essentially blocked and have recently picked it back up only to hit this same roadblock again. Job API indicator I've been messing around with the Zephyr API for a few days and have a question. I've been trying to get the Add Tests to Cycle call to work and have noticed that the response is not what is published in the API docs (https://zephyrsquad.docs.apiary.io/reference/execution/add-tests-to-cycle/add-tests-to-cycle). I'm thinking that the single string value being returned is actually a `jobProgressTicket` value instead. Is there a reason that the API does not indicate that or am I missing something? Is there a way for me to get at the response via the `jobProgressTicket`?