Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Zephyr Base url to access with API

shyamalshivam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2025

Hi 
In jira cloud account, I have added app Zephyr and added some test cases, I want to access those testcases from Java program. I have created Jira API token as well as Zephyr API access token but i am not able to find correct base url to access testcases 

I have tried below url 

https://XXXXXXX.atlassian.net/rest/zephyr/1.0/testcases with Jira basic auth of email and jira api token but 404 error 

https://api.zephyrscale.smartbear.com/v2/testcases?projectKey=XXXX&maxResults=500&startAt=5500 with authorization header set as Bearer Jwt token but it says unknown token 

can someone guide me latest api base url for accessing testcases and cycle and result etc

i have applied zephyr standard edition 

1 answer

1 vote
Matteo Vecchiato
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 24, 2025

Hi @shyamalshivam ,

Welcome to Atlassian community and thank you for your question.

The correct API is the second one, it has this format: https://api.zephyrscale.smartbear.com/v2/{endpoint}

You can create the required token from a user account in Jira, following this tutorial: https://support.smartbear.com/zephyr/docs/en/rest-api/api-access-tokens-management.html 

 

You can found the official api document page here: https://support.smartbear.com/zephyr-scale-cloud/api-docs/ 

Kind regards 

shyamalshivam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2025

I have tried this url 
https://api.zephyrscale.smartbear.com/v2/testcases

Passing token being created with tutorial: https://support.smartbear.com/zephyr/docs/en/rest-api/api-access-tokens-management.html 

But it gives me 401 Unauthorized - " unknown Token "

shyamalshivam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2025

Hi @Matteo Vecchiato  -- do you know any more specific needs to be set in request header when i am calling api from java / nodejs program ?

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events