Our organisation have access to Jira and Zephyr Squad over UI. As part of writing automation framework, I want to integrate the zephyr squad apis for auto submission of results to the mapped testcases.
For achieving the above, I tried accessing the jira apis which are working fine. eg: versions, projects, issues etc.
But I cannot access any of the zephyr-squad apis such as cycles, execution etc.
I have created access and API keys, got my user id.
I have created the JWT token using the above and using them as headers in postman for below request.
Now trying to hit the following api.
https://<my org name>.atlassian.net/rest/api/1.0/config/generalinformation but seeing unauthorized(401) error. I have admin access to Jira and the project admin as well.
I suggest you use this URL instead (replacing Jira's part with the bold one):
yup, i figured out myself too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nicolas Gondard , @Sathish Srinivasan
Thanks so much! I was trying for this since a week, I'm trying to update the test results back to Zephyr Squad for my selenium tests. Can you please help me with any reference link for API?
Thank you in advance!
- Praveen Baliga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please assist me in retrieving cycle results using the Zephyr Squad REST APIs?
I followed the documentation: https://zephyrsquad.docs.apiary.io/#
API Endpoint:https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle/cycleId?versionId=&expand=&projectId=
Headers:
Content-Type: text/plain
Authorization: JWT eyJhbGciOiJIUzI1NiI...
zapiAccessKey: amlyYTo3YjU3OTBhN.
I used the Zephyr Squad access key as "zapiAccessKey"
and the JWT token as "Authorization"
. However, I am encountering a 401 Unauthorized
error with the message:
"Expecting claim 'qsh' ..."
Could you please help me understand the cause of this issue and guide me on how to resolve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @sgurijala
There has been almost two years since I have worked with this API, so I'm afraid I can't help you. I suggest you open a new thread, it may gain more coverage.
Good luck, and happy new year !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also having issues with with this I keep getting back -
We encountered some problems during processing this request. Please try again!
is this endpoint still active or has it been deprecated ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.