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

Which scope I need to clone a repository's wiki

Joao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 23, 2023

I have a workspace token ($BITBUCKET_WKP_ATOKEN_REPOSITORY) with all scope for repository (WRITE,READ,ADMIN,DELETE)

The project is private!

The wiki is activated!

I can clone the project but not the wiki

But I'm unable to clone the wiki :

 

Project:

git clone https://x-token-auth:$TOKEN@bitbucket.org/*****/*******git

Cloning into '*****'...
Receiving objects: 100% (346/346), 73.00 KiB | 247.00 KiB/s, done.
Resolving deltas: 100% (86/86), done.

 

 

But for wiki ins't possible to clone:

git clone https://x-token-auth:$ATOKEN@bitbucket.org/*****/*******git/wiki

Cloning into '*****'...
remote: Your credentials lack one or more required privilege scopes.
fatal: unable to access 'https://bitbucket.org/*****/*******.git/wiki/': The requested URL returned error: 403

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2023

Hi Joao,

Unfortunately, after my own testing and confirmation with others - it is not possible to clone the wiki using WAT as it lacks the scope required.

We have raised a feature request with our developer team to include this scope, however - please feel free to "Watch" this request for future updates and "Vote" for it to increase its visibility with regard to customer demand:

In the interim, you can make use of an App Password instead to perform this as it contains the Wiki scope.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events