Forums

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

Zephyr API

Lav Saxena July 21, 2023

We have an automation pack which was integrated with JIRA and Zephyr using API. After migration of JIRA over cloud, we are working to change the pack to work with Cloud.

 

We are able to resolve the API changed for JIRA but Zephyr its not working.

Earlier Zephyr api was referred from JIRA_URL/zapi/...

 

But as per latest documentation, this seems changed now. Can you please how I can get Base URL of Zephyr in Cloud or what changes need to be done in Rest URL.

1 answer

1 accepted

0 votes
Answer accepted
Sayed Bares _ServiceRocket_
Community Champion
July 21, 2023

@Lav Saxena welcome to the community!

The REST API calls in Zephyr cloud is different. Here is the documentation which you can refer to:

Your base url for the API call should be:

https://prod-api.zephyr4jiracloud.com/connect
Lav Saxena July 23, 2023

Thanks Sayed. So does not matter what is the JIRA URL now. the Zephyr URL is above, right? 

Sayed Bares _ServiceRocket_
Community Champion
July 23, 2023

Yes @Lav Saxena that is the URL you should be using for your calls!

Like Lav Saxena likes this
Lav Saxena July 26, 2023

Thanks Sayed. Apologies for coming back late in this as could not get chance to check this so far. When I am trying to perform a GET operation on 

https://prod-api.zephyr4jiracloud.com/connect

by passing accessKey as zapiAccessKey and JWT token under authorization, I am getting 504 Gateway timeout.

 

Is there I am missing something?

Lav Saxena July 26, 2023

hi...I have tried to perform GET request on below and I am getting message that "Your Presented credentials do nor provide access to this resouce".

 

Do I need to raise any specific access to access Zephyr API.

https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycles/search?versionId=&expand=&projectId=

Lav Saxena August 7, 2023

Hi @Sayed Bares _ServiceRocket_ ,

 

Can you please guide me that does the triggering Zephyr API (post migration to cloud) need any specific request to be raised?

I am passing JWT token and access key but keep on getting 401 un-authorised error.

 

Need suggestions.

Thanks-

Lav

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events