Forum Discussion

nhadi's avatar
nhadi
New Contributor
2 months ago

Zephyr squad api

I have my own google script that i want to use to access zephyr's api. I was able to generate the jwt token as described and using the access key id I tried to send a GET request but it seems I don't have the full correct URL I am supposed to hit as I get a "API not found"

I know this https://prod-api.zephyr4jiracloud.com/connect/ works but the below doesn't seem to work and returns "API not found":

1. https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle?projectId=123&versionId=-1

2. https://prod-play.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle?projectId=11623&versionId=-1
NOTE this I tried with -play instead of -api.

Anyone knows what the correct url is?

 

 

1 Reply

  • nhadi's avatar
    nhadi
    New Contributor

    Just a note that I referred to this guide: https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/2000060602/Generating+a+JWT+Authentication+Token+for+Zephyr+for+Jira+Cloud+API#Generate-a-JWT-token