Try to authentificate with JWT
Hi,
I am trying authentificate to Zephyr by JWT token.
Request url: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/executions?projectId=10000&issueId=15550
Headers: Authorization, zapiAccessKey, Content-type
I am going throw suggested approach, but my response is:
Expecting claim 'qsh' to have value 'c1aec12a54c**************424f154ee92219b92574ae71d261' but instead it has the value '78f03673cac34512*************1b45a4044b689f6e5640343d'
Could u please help me how to solve it ?
Hi,
If there is some issue with JWT token in header then we will get this below qsh error
Expecting claim 'qsh' to have value 'c1aec12a54c**************424f154ee92219b92574ae71d261' but instead it has the value '78f03673cac34512*************1b45a4044b689f6e5640343d'
https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/executions?projectId=10003&issueId=10153&offset=0&size=10
One of the possible reason while generating your JWT token, you might have given incorrect project id or issue id or offsetvalue or size value
Please follow the below documentation for sample api's and jwt generation:
https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/2000060602/Generating+a+JWT+Authentication+Token+for+Zephyr+for+Jira+Cloud+API
Thanks,
Jagadeesh