Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to access Zephyr test cycles using Rest API

Want to access Test Cycles created in a particular project . How we can access the test cycles using REST API

2 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 06, 2017

How are you storing these test cycles in JIRA?

 

Sam Hall
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.
Feb 06, 2017
Sam Hall
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.
Feb 06, 2017

p.s. your screenshot gives away user and company data, so you should probably block out the personal details or delete it from this question.

Hi @Sam Hall

We already installed a Zephyr in JIRA . 

Do we need to install another plugin ZAPI to communicate using rest APIs or this was a part of Zephyr. ?

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 06, 2017

You do need to install the ZAPI add-on as well as Zephyr.

Hi @Nic Brough [Adaptavist] / @Sam Hall

Already installed both Zypher / ZAPI add-on. [Screenshot 1-3]

But still not able to connect ZAPI api . [Screenshot 4]

http://JIRA Server URL /jira/rest/zapi/latest/util/project-list

Correct us if we need to enable something or something wrong on url ?

 

1.png

2.png

3.png

4.png

Sam Hall
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.
Feb 08, 2017

I think you are using the wrong endpoint. 

Have a look here: https://support.getzephyr.com/hc/en-us/articles/115000412763-Getting-Started-with-ZAPI-Cloud

This mentions the base URI for Zapi API calls is: https://prod-api.zephyr4jiracloud.com/connect/

See also: https://zephyrdocs.atlassian.net/wiki/display/DEVELOPER/ZAPI+Cloud

If you have more questions or need help, you should probably raise requests directly with the vendors of Zephyr/ZAPI at: https://support.getzephyr.com

HI @Sam Hall

Used this reference link to fetch the test data , but not able to . Receving 404 when trying to hit for 

https:/xxxxxxxxxx Server url /connect/public/rest/api/1.0/teststep/48938

Is this API is correct ? 

I am currently using a trial version of ZAPI . Is it allows me to connect to API ?

https://bitbucket.org/ErnestChristley/zfj-importer/src/cf11cd383fc3f9c07f299687e570c4348bb07c5b/src/main/C%23/Reporting.cs?fileviewer=file-view-default

Also when tried to fetch the project list using following :

https://XXXXXX/jira/rest/zapi/latest/util/project-list

Receiving 401 - is the below syntax is correct ?

 

401.png

 

 

Sam Hall
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.
Feb 10, 2017

I don't know, I'm afraid.

Did you have a look on the Zepyhr/Zapi support pages? There is plenty of info there.

The API documentation gives the details of how to get test steps here: http://docs.zfjcloud.apiary.io/#reference/teststep/get-update-and-delete-teststep/get-teststep

And there is this about the 401: https://support.getzephyr.com/hc/en-us/articles/115000308283-401-error-while-making-ZAPI-Cloud-API-requests

Maybe someone on here will give you better answers but, as said in my comment above, it is probably better if you send questions directly to Zephyr.

Why not follow the "Have more questions? Submit a case" link in their getting started guide?:

zapi-submit-a-case.png

This takes you to a page where you can sign-up and raise support case/questions with the people who built the add-ons. I'm sure they will be much more knowledgable than me:

zephyr-sign-up.png

Sam Hall
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.
Feb 10, 2017

p.s. just to double check:

I think you should be using a url starting with https://prod-api.zephyr4jiracloud.com/connect/, not your JIRA url.


@prag kalra

Can you please try to use https://XXXXXX/rest/zapi/latest/util/project-list

this URL. You need to remove "jira" keyword from url, this workes for me.

I was also using the wrong URL.

0 votes
test12018
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!
Jul 12, 2023

Hi , can some one help if they have done integration with zephyr for test automation , like able to access BDD test cases from the provided test cycle and download them to local feature file , execute using automation and update back the results ? Any leads will be highly appreciated and thank you much in advance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events