Forbidden Error - 403

When i tried to retrieve the Test Cycles created in Jira through Zephyr for Jira REST api call , it is giving me an empty array {} . How to make use of Zephyr for jira REST api ? Is there any configurations to be done to solve the issue or we need to Upgrade the current version of Jira and Zephyr for Jira add-on ??

1 answer

Hello MohammedKamil,

When you are trying to fetch the Test Cycles, you have to pre authenticate JIRA so that the JIRA allows the API to get the data you are fetching.

Please check if you are autheticating JIRA before you fire the API call to fetch the Test Cycles. Also you have to cross check that you have necessary permissions to access the data in JIRA.

Please go through the online Documentaion avaialble for complete API description by accessing the link http://docs.getzephyr.apiary.io/

Also access the below link for some sample scripts.

http://community.yourzephyr.com/viewtopic.php?f=21&t=1244

It is not mandatory to upgrade Zephyr add-on if you are using version 2.x

Thank You.

Swapna Kumar Vemula

Hi Swapna Kumar Vemula,

Yeah i did Basic Aythentication, but still when i used the api's of http://docs.getzephyr.apiary.io/, i am not getting any output , it is still returning me an empty array . But when i use the Jira REST api , https://docs.atlassian.com/jira/REST/latest/, i can able to retrieve or post any operations , but i am not getting the same , when i do with Zephyr With Jira api . Any idea ??

Thank You.

Mohammed Kamil

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

125 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you