1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #3430 resolved

BitBucket API: Forbidden when filtering foreign repositories

created an issue

Some facts: - I'm using OAuth to authenticate the requests. - I'm using Zend-OAuth as Http-Client

Now the problem: I load issues from my repos via this url: https://bitbucket.org/api/1.0/repositories/OWNER/SLUG/issues/ Everything works fine.

Now I want to filter the Issues by responsible person: https://bitbucket.org/api/1.0/repositories/OWNER/SLUG/issues?responsible=NAME

This does only work with repositories created by me. With others I get a Forbidden-Error. The problem occurs if I set other filters or options(like limit or start), too.

I entered the API-Url into a web browser and there this is working.

Comments (3)

  1. M1cha reporter

    I solved the Problem. It was a client problem. I wrote the GET-parameters directly in the url but you have to define them with the method 'setParameterGet()' of Zend.

  2. Log in to comment