youngmon/atlassian-qna huggingface dataset:
No Repositories page in the Administration area
Asked by Alexander:

How to access the list of all repositories? There is no Repositories page in the Administration area as described at here <https://confluence.atlassian.com/bitbucketserver/advanced-repository-management-1064084889.html>


Answers:
author: Christian Glockner
body: Hi Alexander,

Two questions:

* Which version of Bitbucket Server are you using?
* Are you using a Bitbucket Data Center license or a Bitbucket Server license?

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Alexander
body: Thanks for the answer!  
Atlassian Bitbucket v7.21.0  
almost sure it's server license but i can check if you help me how to find it out


author: Christian Glockner
body: If you go to the System Settings and then navigate to Licensing - what does it say under **Clustering**?


author: Alexander
body: Clustering Not available with this license


author: Christian Glockner
body: Then you're using a Server license, and as it says on the page you linked to, this is a Data Center-only feature.


author: Alexander
body: So how to list all the repos incuding private ?


Tags: bitbucket-server

server
Unable to login Bitbucket - We couldn?t log you in
Asked by Jes?s David Romo:

I am getting following error when login to bit bucket account.

"You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."

Thanks,

David Romo


Answers:
author: Theodora Boudale
body: Hi [@Jes?s David Romo](/t5/user/viewprofilepage/user-id/4951811),

I can see that you have created a support ticket for this issue as well. Your account was in a dormant state and had since been reactivated.

Please feel free to let me know if you are able to access it now.

Kind regards,  
Theodora

comments: author: Jes?s David Romo
body: Yes now I'm able to access to my account... Thank you so much...   

David


author: Theodora Boudale
body: You are very welcome David, I'm glad to have helped!

Please feel free to reach out if you ever need anything else.

Kind regards,  
Theodora


author: Rrrr
body: Frustrating!

I wasted so much time and also went through the support team.

Even better is to fix this once and for all:

[vote](https://jira.atlassian.com/browse/BCLOUD-22664) to request a clear error message:

<https://jira.atlassian.com/browse/BCLOUD-22664>


author: Lam Nguyen
body: [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086): I got same issue, could you help me, too? Thanks in advance.

Regards,

/Lam

comments: author: Theodora Boudale
body: Hi Lam,

Of course, your account was deactivated as well so I went ahead and reactivated it. Can you check if you are able to access it now?

Just a heads up, also for any other users with the same issue that may come across this post: it's best to create a new question for your issue via <https://community.atlassian.com/t5/forums/postpage/board-id/bitbucket-questions>

I have no problem at all assisting in this post, however, if I am out of office, a new question will be visible to the rest of my team members and you can get assistance faster.

Kind regards,  
Theodora


author: Jes?s David Romo
body: [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) Could you help me?, please, thanks in advance. :)


Tags: bitbucket-cloud
View Access
Asked by Yemi Akinto:

Is there a way to restrict view access to repos in my workspace for individual users, so that each user can only see the repos that they have write/admin access to?


Answers:
author: Alexander Bondarev
body: Hi, [@Yemi Akinto](/t5/user/viewprofilepage/user-id/4945490) !

Welcome to the community!

Yes, you have to set repositoty permissions - [Grant repository access to users and groups](https://support.atlassian.com/bitbucket-cloud/docs/grant-repository-access-to-users-and-groups/)


Tags: bitbucket-cloud

cloud
Error: When renaming remote branch name, old name still occur on BB with dead links 404
Asked by asi_lh:

1. Create pull request.

2. Rename remote branch using  
\`\`\`bash

$ git push origin :fealure/CPT-270-old_name feature/CPT-270-new_name  
Total 0 (delta 0), reused 0 (delta 0)  
To bitbucket.org:user_name/project_name.git  
- \[deleted\] fealure/CPT-270-old_name  
\* \[new branch\] feature/CPT-270-new_name -\> feature/CPT-270-new_name

\`\`\`

3. Go to BB on previously created pull request and:

a. see old branch name in source side

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/199852i36BB46A8525DE0AA/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/199853i23FCFA42685D1F99/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/199854i4F12E079A9B9290C/image-size/large?v=v2&px=999 "image.png")b. click on target branch and get previously created branch name, click on link and get 404 not found page.


Answers:
author: Theodora Boudale
body: Hi [@asi_lh](/t5/user/viewprofilepage/user-id/4514029),

There is no way to directly rename a branch in a remote repository. What the push command is doing is deleting the old branch and creating a new one, so for the remote repo, this is a new, different branch.

That being said, we could offer the option to change the source branch in the pull request, which is something that doesn't work at the moment.

We have a bug report in our issue tracker about this that you can vote for and add yourself as a watcher if you'd like to get notified on updates:

* <https://jira.atlassian.com/browse/BCLOUD-13913>

In the meantime, the way to work around this would be by declining this PR and creating a new one with the new branch as a source.

Kind regards,  
Theodora


Tags: bitbucket-cloud

branch

cloud
Exporting commits from branch between dates into a CSV or XLS
Asked by Marco Di Rubbo:

Hi Community,  

I was wondering if there was a quick easy way to export the commits between two dates on a specific branch from a bitbucket repository into a XLS or a CSV file?  

Any recommendations and advice is greatly appreciated!   

Thanks in advance,  

Marco


Answers:
author: Aron Gombas _Midori_
body: If you clone the repo to a working copy, then your question turns into "how to convert the Git log to CSV"?

And for that, [this StackOverflow topic](https://stackoverflow.com/questions/39253307/export-git-log-into-an-excel-file) gives great hints.


Tags: bitbucket-cloud

cloud
Repo on BitBucket over 4 GB, has cleaned local large files, how can I push to remote?
Asked by yuanqimami:

Hi,  
One of my repo at BitBucket is over the 4GB. I have undo the last push, and delete large files by git filter-branch. But when I pushed local changes back to the Bitbucket repository, it still says size limit.

Could you help to tell me how can I push to remote? Not sure if temporarily increasing the repository size or running the GC against this repo is needed.

Btw, the last 3 letters of the name of the workspace and repository are "ile" and "app".

Thanks.


Answers:
author: Theodora Boudale
body: Hi [@yuanqimami](/t5/user/viewprofilepage/user-id/4951516) and welcome to the community!

Undoing the last push will trigger a garbage collection under the following conditions:  
**1.** the repo is over the 4 GB limit  
**2.** **Delete dangling commits when over size limit** is enabled in <https://bitbucket.org/account/settings/features/> for the user that does the push  
**3.** you undo the last push and then push only that and no other changes (like commit deletions, changes with git gilter-branch, BFG, etc)

If your repo was over the 4 GB limit and the Labs feature was enabled, I believe the push must have failed because you were trying to push additional changes other than undoing the last push.

<br />

I ran a git gc for your repo and its size is 1.1 GB now.

Does this agree with the size of your local repo?

In case you have reduced the repo's size further by removing large files from its history, you can push your changes and please let me know so I can run another git gc for your repo.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

size
is this legit mail?
Asked by Sergio Kubota:

Sirs,

We received a notification from Atlassian below:

We're writing to let you know that your Atlassian account is no longer managed by your Atlassian Cloud administrator.

This won't change the way you log in to Atlassian products or how you use them.

For more info, see [Personal and managed accounts](https://confluence.atlassian.com/x/YzcWN).

Personal and managed accounts = ( **[confluence.atlas=sian.com/x/YzcWN](https://confluence.atlas=sian.com/x/YzcWN)** ).

Cheers,  
The Atlassians

<br />

**Could you confirm if the "confluence.atlas" domain is valid?**


Answers:
author: Brant Schroeder
body: [@Sergio Kubota](/t5/user/viewprofilepage/user-id/4951433) welcome to the Atlassian community

The proper link should be <https://confluence.atlassian.com/x/YzcWN> I am not sure where the = came from. I would suggest reaching out to your Atlassian cloud administrator to see if they made a change.

comments: author: Sergio Kubota
body: Hi [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)thank you very much for the information.


Tags: bitbucket-cloud

cloud

domain-verification
Remove file from all history
Asked by ThePokyWizard:

I've had a project on BitBucket for many years, and this project, only I had access to and maintained.

In this project there is a file that has existed for years that contains information about an access token for an API, but now there will be a few more people who will help me maintain this project, and I want to remove this file from all history, to not allow these other people access to the API token.

How do I remove this file completely from the history, so that it is impossible to recover any information?

I even considered creating a new project with a copy of the current project, but with that I'll lose all the history of updates that were made.


Answers:
author: Patrik S
body: Hello [@ThePokyWizard](/t5/user/viewprofilepage/user-id/1661054) ,

Thank you for reaching out to Atlassian Community!

In order to remove the file containing the sensitive data you have to rewrite the history, and there are two different methods/tools that help you remove the sensitive information from your repository's commit history :

* The git command [git filter-branch](https://git-scm.com/docs/git-filter-branch)
* [BFG Repo-Cleaner](http://rtyley.github.io/bfg-repo-cleaner/)

I would personally recommend using BFG Repo-cleaner as I think it's easier to use and provide you with the option to instead of deleting the sensitive file, just replace the sensitive string with another one.

Both of the methods are detailed step-by-step in the documentation below, which although is for Bitbucket Server, also applies to Bitbucket Cloud, as it's pretty much standard git commands:

* <https://confluence.atlassian.com/bitbucketserverkb/how-do-i-remove-sensitive-unwanted-content-that-was-pushed-to-my-bitbucket-server-instance-1019389998.html>

In that KB you can expand the section of each of the methods to be provided with detailed instructions for each of them. You can follow those instructions and let us know in case you run into any issues.

Hope that helps! If you have any questions, feel free to ask!

Thank you, [@ThePokyWizard](/t5/user/viewprofilepage/user-id/1661054)

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud
Problem: "Someone has already added that key as an access key to a repository."
Asked by holmes88:

i am having the same problem


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This happens when you have tried to use a key for an account with a different account.

The "fix" is to stop sharing keys (you shouldn't be doing that in general, it's not just Bitbucket). The second account should generate and add its own key to the repository.
Show long commit hash in bitbcket
Asked by Mark Pashley:

I would like to view the full long commit hash within bitbucket instead of the short hash. Is this possible?


Answers:
author: Alan R
body: Hello [@mark](/t5/user/viewprofilepage/user-id/4771928)

Thank you for reaching out to the Atlassian Community!

From the commit list on the UI of Bitbucket Cloud, I'm afraid you can currently only see the short commit hash, however, if you click on a certain commit you can find the full hash on the commit URL, for example, <https://bitbucket.org/>\<workspace\>/\<repository\>/commits/\<full_hash\>.

Hope that this information can be useful.

Cheers,  
Alan R  
Atlassian Support Engineer

comments: author: Alan
body: any idea when we may be able to pull the 40 bit hash via api ?


author: Alan R
body: Hey [@Alan](/t5/user/viewprofilepage/user-id/5118933)

You can do it using our [Get a Commit](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-commit-commit-get) API.

Cheers,  
Alan R  
Support Engineer \| Bitbucket Cloud Support


author: Dineshmathiazhagan
body: Yes it is very simple -

Step 1 : goto bitbucket

Step 2 : goto commits section using your left pane

Step 3 : you should see all commits listed

Step 4: hover to the right ( very next to commit ) you should get a pop ( tooltip) it will display copy hash code - click it

Step 5 : All set your have copied the full hash of that commit


Tags: bitbucket-cloud

cloud
I stopped receiving email notifications for Bitbucket & Jira
Asked by psanchezsanchez:

All people of our team have stopped receiving email notifications for bitbucket and Jira (Confluence continues working). Could you please check if our email domain (lockup.es) is in the suppression list?

Thanks


Answers:
author: Mark C
body: Hi [@psanchezsanchez](/t5/user/viewprofilepage/user-id/1254547)

Thank you for reaching out to the community.

Indeed, there were email addresses listed in our email suppression list with the same email domain you've shared.  
For that, I went ahead and removed all emails from our email suppression list.

Would it be possible for you to check if you're now receiving email notifications?  
Hope it helps and let me know how it goes.

Regards,  
Mark C

comments: author: Pedro S?nchez
body: It is working properly.

Thanks a lot!

PS: Bad account, I don't kow how to delete this reply.


author: psanchezsanchez
body: Now we receive the email notifications.

Thanks a lot!!


Tags: bitbucket-cloud

cloud

jira-software
how to trigger a pipeline from one project to another project?
Asked by Joel Stephen:

I want to trigger a pipeline from one project to another project. I am using pipes but it shows errors like Account, repository or branch doesn't exist.


Answers:
author: Mark C
body: Hi [@Joel Stephen](/t5/user/viewprofilepage/user-id/4911432)

Thank you for reaching out to the community.

I believe you're referring to the Pipe script [atlassian/trigger-pipeline](https://bitbucket.org/atlassian/trigger-pipeline/src/master/).  
If yes, you can add the variable **DEBUG: 'true'** to debug Pipes further.

For the error message, would you be able to provide the exact message you're getting?  
![](https://getsupport.atlassian.com/images/icons/emoticons/information.png) Please do mask any sensitive information before providing it here

Let me know how it goes.

Regards,  
Mark C

comments: author: Joel Stephen
body: Thanks [@Mark C](/t5/user/viewprofilepage/user-id/1210823) for your answer now it is working.


Tags: bitbucket-cloud

cloud
?filtering not recognized by server? error when trying `git clone --filter=blob:none`
Asked by strangecode:

I'd like to get a blobless clone of a repo hosted at \`git clone git@bitbucket.org:my-org/my-repo.git\`, so I'm running this command:

```
git clone --filter=blob:none?git clone git@bitbucket.org:my-org/my-repo.git
```

But it doesn't work. It displays this error message and displays the entire repo data:

```
warning: filtering not recognized by server, ignoring
```

Does bitbucket not support git filters?

Is there a way to enable filters?

Or when is this functionality scheduled to be available?


Answers:
author: Theodora Boudale
body: Hi [@strangecode](/t5/user/viewprofilepage/user-id/4369828),

I'm afraid that this is not supported in Bitbucket Cloud at the moment.

We have a feature request about this in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-19847>

Since you're interested in that feature, I would suggest adding your vote to that ticket (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

We don't provide ETAs, implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
how to resolve git error - git: 'http-backend' is not a git command.
Asked by Ed Cook:

I am trying to upgrade git from 2.19.1 to 2.35.1 on bitbucket server 7.21.0 running on linux

when I try to clone from the test bitbucket instance I upgraded to git 2.35.1 I get an error "fatal: unable to access '<http://10.148.16.111:7990/scm/dev/inrush.git/>': The requested URL returned error: 500"

the bitbucket log shows the following

2022-05-27 16:35:08,871 ERROR \[http-nio-7990-exec-10\] @1AC2ZMCx995x82x0 10.148.22.245 "GET /scm/dev/inrush.git/info/refs HTTP/1.1" c.a.c.m.a.ApplicationServiceGeneric Directory 'Dev Internal Jira (6717441)' is not functional during authentication of 'test'. Skipped.

2022-05-27 16:35:08,917 WARN \[http-scmrequest-handler:thread-2\] test @1AC2ZMCx995x82x0 10.148.22.245 "GET /scm/dev/inrush.git/info/refs HTTP/1.1" c.a.s.i.s.g.p.http.CgiStdoutHandler Unexpected EOF copying SCM hosting process output to response

2022-05-27 16:35:08,919 ERROR \[http-scmrequest-handler:thread-2\] test @1AC2ZMCx995x82x0 10.148.22.245 "GET /scm/dev/inrush.git/info/refs HTTP/1.1" c.a.s.i.s.g.p.h.GitSmartExitHandler DEV/inrush\[54\]: Read request from 10.148.22.245 failed: com.atlassian.utils.process.ProcessException: Non-zero exit code: 1

The following was written to stderr:

git: 'http-backend' is not a git command. See 'git --help'.


Answers:
author: Christian Glockner
body: Hi Ed,

This usually means that the git binary you're using was not compiled with the HTTP extensions enabled. You'll either need to recompile it yourself or get one of the vanilla binaries from git-scm.com

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Mousa Ebrahimi
body: Hi [@Ed Cook](/t5/user/viewprofilepage/user-id/737144)

I am having similar issue to what you are experiencing, wanted to see if you end up compiling Git with HTTP extensions? Or found a package that came with extensions? Appreciate if you share your fix for this.

Thank you

Moses


Tags: bitbucket-server

git

server
AWS Lambda function update pipeline failing with "Error parsing parameter '--zip-file......' "
Asked by Ariel Mantovani:

Hello everyone.

I'm having a pprblem trying to set up a pipeline for update an AWS Lambda function.

Once the deploy is triggered, it fails with the following error:

```
Status: Downloaded newer image for bitbucketpipelines/aws-lambda-deploy:0.2.3
INFO: Updating Lambda function.
aws lambda update-function-code --function-name apikey-token-authorizer2 --publish --zip-file fileb://apiGatewayAuthorizer.zip
Error parsing parameter '--zip-file': Unable to load paramfile fileb://apiGatewayAuthorizer.zip: [Errno 2] No such file or directory: 'apiGatewayAuthorizer.zip'
? Failed to update Lambda function code.
```

Looks like the script couldn't find the artifact, but I don't know why.

Here is the bitbucket-pipelines.yml file content:  

```
image: node:16

# Workflow Configuration

pipelines:

default:

 - parallel:

 - step:

name: Build and Test

caches:

 - node

script:

 - echo Installing source YARN dependencies.

 - yarn install

branches:

testing:

 - parallel:

 - step:

name: Build 

script:

 - apt update && apt install zip

# Exclude files to be ignored

 - echo Zipping package.

 - zip -r apiGatewayAuthorizer.zip . -x *.git* bitbucket-pipelines.yml

artifacts:

 - apiGatewayAuthorizer.zip

 - step:

name: Deploy to testing - Update Lambda code

deployment: Test

trigger: manual

script:

 - pipe: atlassian/aws-lambda-deploy:0.2.3

variables:

AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY

AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION

FUNCTION_NAME: $LAMBDA_FUNCTION_NAME

COMMAND: 'update'

ZIP_FILE: 'apiGatewayAuthorizer.zip'

```

Does anyone knows what am I missing here?  
Thanks in advance.


Answers:
author: Mark C
body: Hi [@Ariel Mantovani](/t5/user/viewprofilepage/user-id/4949373)

Welcome to the community.

Based on your YAML configuration, I can see that you're using [Parallel](https://support.atlassian.com/bitbucket-cloud/docs/set-up-or-run-parallel-steps/) steps.

According to the documentation:
> Parallel steps can only use artifacts produced by previous steps, not by steps in the same parallel set.

Hence, this is why the artifacts is not generated in the "Build" step because those 2 steps are within a parallel set.

For that, you can just remove the parallel configuration and use [multi-steps](https://bitbucket.org/blog/multiple-steps-in-bitbucket-pipelines) instead.  
This way, the first step can generate the artifact and pass it on to the second step.

Hope it helps and let me know how it goes.

Regards,  
Mark C

comments: author: Ariel Mantovani
body: Thank you , Mark! That worked like a charm.

Our pipeline is working and deploying to Lambda without errors.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

lambda
How to set up Bitbucket/Slack integration using the API?
Asked by Matthieu Buot de l'Epine:

Hi,

We're trying to set up our internal Slack with our Bitbucket repos in order to receive notifications when a branch is merged for example. This is described in this document under "Subscribe Slack channels to Bitbucket repositories": <https://support.atlassian.com/bitbucket-cloud/docs/integrate-bitbucket-cloud-with-slack/> .

Since we use quite a lot of different repos we would like to automate the integration through a script, but couldn't find any documentation about how to do that using the API. Is that even possible? And if so what are the steps to follow please?  

Thanks in advance


Answers:
author: Mark C
body: Hi [@Matthieu Buot de l'Epine](/t5/user/viewprofilepage/user-id/4949093)

Welcome to the community.

Unfortunately, it's not possible to set up Slack in multiple repositories via API.  
For now, you'll have to manually set up the Slack integration to subscribe to a channel for each repository.  
We do have an existing feature request for it that can be located through this link. - <https://jira.atlassian.com/browse/BCLOUD-16227>  
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.  
![](https://getsupport.atlassian.com/images/icons/emoticons/information.png) Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

Do let me know if you have further questions that I can help with.

Regards,  
Mark C

comments: author: Matthieu Buot de l'Epine
body: Hi [@Mark C](/t5/user/viewprofilepage/user-id/1210823)   

Thanks for the detailed answer, this is very helpful!


Tags: api

bitbucket-cloud

cloud