Skip to content

[Bitbucket] : Bitbucket cloud API do not seem to work #629

@masarani597

Description

@masarani597

In our company, we use bitbucket.org cloud product and I am using the following snippet to connect to it.


from atlassian import Bitbucket

def bitbucketHelp():
bitbucket = Bitbucket(
url='https://bitbucket.org',
username='testuser@mycompany.com',
password='testpassword')

This does not seem to work. I get the following error.

raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://bitbucket.org/api/2.0/projects

Am I doing something wrong ? I don't see any examples of how to connect to bitbucket cloud product.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions