Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-9481

API call to issues endpoint fails if parameters provided

    XMLWordPrintable

Details

    Description

      I'm using an example from https://confluence.atlassian.com/display/BITBUCKET/OAuth+consumer+examples

      Everything seems fine until I try to get only closed issues, so I change

      #!python
      url = 'https://bitbucket.org/api/1.0/repositories/%s/%s/issues/' % (username, repo_slug)
      

      to

      #!python
      url = 'https://bitbucket.org/api/1.0/repositories/%s/%s/issues/?status=closed' % (username, repo_slug)
      

      And I get a 401 HTTP status. If I change it back - it works fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            2f479914dbb8 Alexey Strelkov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: