Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

App Password/Python

ariella February 7, 2022

I am using Python to log into my Bitbucket Repository, using an app password.

I have reviewed the documentation for the Python Bitbucket module (https://atlassian-python-api.readthedocs.io/bitbucket.html), and I'm not sure what the project_list and project_key, and how to find them.

When I try to run 'bitbucket.project(key)', I get the error 'NameError: name 'key' is not defined'

What is the project(key) in a bitbucket repo?

1 answer

1 vote
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2022

Hi @ariella 

Welcome to Bitbucket!!

Please verify this is the Project key you are passing (Example shown here)

Key.png

Thanks,
Pramodh

ariella February 7, 2022

Hi @Pramodh M ,

Thanks for the comment!

Ok, I see the Project Key in my Bitbucket:
Screenshot 2022-02-07 152329.png

So what is the proper code to get into a project folder?

x = Bitbucket.repo_list('AI')
print(x)


Or something else?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events