Jira Zephyr rest API returns error 403 for all requests.

Hi all my company is currently using Jira (v6.1.3#6158-sha1:b5b5eab) and Zephyr plugin version 2.1. As automation QA I was trying to use the Zephyr API to automate test execution. Everything was working fine with old version of Zephyr 1 (where requests were send via http) but now I need to send my requests via https and I receive error 403 for all requests which I try, example: http://<jira url>/rest/zapi/latest/cycle. I have trial Zapi addon installed to but result was same.

Same request send to the documentation page (http://getzephyr.apiary.io/jira_server/rest/zapi/latest/cycle) return response.

So I assume there is something misconfigured in our jira but I was not able to find what. I search the questions here and find a similar problem where the user says that he resolve his issue by:

solved my problem by doing this:

a) Unistall ZAPI add-on and only leave installed Zephyr add-on

b) Configure Zephyr add-on. Disable Zephyr REST Filter and ZAPI API modules.

c) Use /rest/zephyr/1.0/ url to acces the API

However I was not able to find how to "Disable Zephyr REST Filter"

2 answers

I forget to mention i was using "Basic Authorization" for my requests

Hi Yani,

First off, can you upgrade your Zephyr for JIRA and ZAPI plugin to the latest available versions?

As of writing this, that is Zephyr for JIRA (2.1.2) and ZAPI (1.1)

Regards,

Daniel

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

200 views 1 18
Join discussion

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