Contributions
Re: Try to authentificate with JWT
Hi, this community is dead, zero support by the smartbear team, but, may be this can help you: the Automation API and REST API authenticate differently, for Automation API as simple as: Generate JWT Token https://prod-vortexapi.zephyr4jiracloud.com/api/v1/jwt/generate https://support.smartbear.com/zephyr-squad-cloud/docs/test-automation/api.html but for REST API you need to generate the qsh, etc, take a look: https://developer.atlassian.com/cloud/jira/platform/understanding-jwt-for-connect-apps/ if your using nodeJS here is an example: const method = 'GET'; const url = `https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/teststep/${issueId}?projectId=${zephyr.credentials.projectKey}`; ; generateJWT: async function(method, url) { const now = moment().utc(); const req = jwt.fromMethodAndUrl(method, url); const tokenData = { "iss": zephyr.credentials.accessKey, "iat": now.unix(), // The time the token is generated "exp": now.add(3, 'minutes').unix(), // Token expiry time (recommend 3 minutes after issuing) "qsh": jwt.createQueryStringHash(req, false, 'https://prod-api.zephyr4jiracloud.com/connect'), // [Query String Hash](https://developer.atlassian.com/cloud/jira/platform/understanding-jwt/#a-name-qsh-a-creating-a-query-string-hash) "sub": '' // Your people ID https://********.atlassian.net/people/5bb7ad0ccc53fd0760103780 }; const secret = zephyr.credentials.secretKey; const token = jwt.encodeSymmetric(tokenData, secret); return `JWT ${token}`; },1.7KViews1like2CommentsZephyr Squad Change Test and Steps statuses uploading a report or through REST API
Hi, Its possible that through a JUnit, csv, xls or any format update the status of a test and its steps. It does not matter if it has to be uploaded manually or through the REST API. The tests import utility that you currently have, only generates the tests and their steps but does not allow updating the statuses, since in the column mapping nothing reference appears (com.thed.zephyr.je__import-test) Through the REST API, the status of the tests can be changed, but it must be done one by one. There is no bulk functionality. The same for the steps.655Views0likes0CommentsZephyr Squad REST API rate limits an how can I increese it
Hello, The Zephyr Squad REST API documentation says that the rate limits are: https://support.smartbear.com/zephyr-squad-cloud/docs/api/index.html Rate limits 1,000 requests per hour. 24,000 requests per day. but my doubt is if that limits are for account/user or organization, and how can i increese that limits.1.3KViews0likes1CommentZephyr Squad add ID to testcase of an existent issue
hello, im uploading the JUNIT report to the automation task, but when i run it this create a new issue, its possible to add the ID of an existent issue?? if i put it in the name of the testcase of junit like [ABC-123] the automation freeze586Views0likes0Comments