youngmon/atlassian-qna huggingface dataset:
I face the error when i logged into my bitbucket repository via all various browsers.
Asked by Soe:

I notice and face this error since last three weeks. Sometimes logged into my bitbucket repository is successful . Now , I cannot log into my repository totally.  

I search like the errors and solve from google but i cannot solve this till now.  

Help me, as somebody affort.


Answers:
author: Laurie Sciutti
body: Hi [@Soe](/t5/user/viewprofilepage/user-id/5549529) and welcome to the Community! What's the error you are getting?

comments: author: Soe
body: I face the error that   

I cannot login to my bitbucket repository. I also tested with various browsers but i   
face the same error.  

Loading time is too long and do not reach repo. As such time, I view on console and network. I see some of js and css file errors like from my supported screenshot.  

If possible, helpe as much as you can. I am a junior developer.  

Thanks.![bitbuckt.png](https://community.atlassian.com/t5/image/serverpage/image-id/337111iC5FC8056EEF68100/image-size/large?v=v2&px=999 "bitbuckt.png")


author: Ben
body: Hi [@Soe](/t5/user/viewprofilepage/user-id/5549529)

I can see you are a member of 19 individual workspaces, so I'm wondering if there is some kind of timeout occurring in the UI.

Could you clear your browser cache and disable all add-ons to see if this makes a difference? I'd also like to know what happens when you login on <https://bitbucket.org> - does your avatar in the top-right corner show that you are logged in or does it display blank?

Cheers!

- Ben (Bitbucket Cloud Support)


author: Soe
body: I clear all browser cached and histories from my browser. And then, clall [https://bitbucket.org](https://bitbucket.org/) and login with my registered gmail but   
i cannot reach my account. I do not see anything like avator . I see only

blank screen like the screenshot.  

Please, help me about this.

<br />

![bitbukcet3.png](https://community.atlassian.com/t5/image/serverpage/image-id/337169iB72F46A0F55535C3/image-size/large?v=v2&px=999 "bitbukcet3.png")


author: Ben
body: Hi [@Soe](/t5/user/viewprofilepage/user-id/5549529)

I've taken a closer look at your workspace and can see that it is in the process of deletion. This is why you are getting error messages when you attempt to load your page. The process of full deletion takes 30 days and is not reversible.

Checking our backend logs shows that your user account deleted the workspace through the Bitbucket Cloud UI on 2024-07-23 05:33:26 (UTC time):

```
POST 200 https://bitbucket.org/S**H***/workspace/settings/delete?iframe=true&spa=0
```

Is this an action you recognise?

Cheers!

- Ben (Bitbucket Cloud Support)


author: Soe
body: Yes, I logged in via my phone browser and delete some workspaces.  
Today, I logged into my bitbucket repository proces is successful.  

I sometimes face like this errors .  
Why don't know exactly causes?  

Thanks!


Tags: bitbucket-cloud

cloud
Use API To Get A List of All repositories and the users that have administrative permission
Asked by Ray Tran:

Hi,

I've been digging around in the post and have found that that if I use <https://api.bitbucket.org/2.0/workspaces/>\<workspace\>/permissions/repositories that I should have gotten a list of repositories and the users. However, I see that I'm only getting a partial list. I need to do an audit of our admin permission and I would like to see if it's possible to list out all the repositories and the administrators. If there is an example of how to do this in Python that is even better. Thank you in advance for your help.

We are on Bitbucket cloud if it makes a difference.


Answers:
author: Jim Knepley - ReleaseTEAM
body: ref: <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-permissions-repositories-get>

If you're only getting a partial list, it's possibly because that endpoint is paginated, and you need to tell it which page (and how many records per page) you want.

*pagelen* defaults to 10, but you can request as many as 100, which might be enough. Otherwise you'll need to make additional requests to get the *next* page until you get them all.

Pagination is a fairly common pattern, you can see examples of how to interact with such APIs in Python here:

<https://stackoverflow.com/questions/17777845/python-requests-arguments-dealing-with-api-pagination>


Tags: bitbucket-cloud

cloud
How Can I Turn Off Prepopulated Destination Branch?
Asked by Steven Varndell:

When creating a PR Bitbucket tries to guess what destination branch you want to merge to, and it prepopulates the field. It's almost always wrong. Can this prepopulation be turned off? It's just asking for a branch to be merged somewhere it doesn't belong


Answers:
author: Patrik S
body: Hello [@Steven Varndell](/t5/user/viewprofilepage/user-id/5549444) ,

Just adding to [@Ulrich Kuhnhardt _IzymesCo_](/t5/user/viewprofilepage/user-id/4011392) , while there's not currently an option to turn the branch pre-population in the UI, the way that Bitbucket selects the target branch is based on the branching model configured in the repository or project level:

* <https://support.atlassian.com/bitbucket-cloud/docs/branch-a-repository/#The-branching-model>

By default the Production and Development branches are set to the main branch of the repository. You can change those to specific branches according to your workflow.

The configured *Production* branch is the default target branch for pull requests from release branches.

As for the branch configured as *Development* branch, it will be the default target for feature branches.

I hope that information helps! Let us know in case you have any questions.

Thank you, [@Steven Varndell](/t5/user/viewprofilepage/user-id/5549444) !

Patrik S


author: Ulrich Kuhnhardt _IzymesCo_
body: I come across the same problem quite frequently. I don't know a way to turn this off in the UI.

When creating a PR you can use the link that you see when you push the source branch to bitbucket.org (remote) via the git CLI, and add the destination branch as a req param. For example

<https://bitbucket.org/>\<your_workspace\>/\<your_repo\>/pull-requests/new?source=feature/XYZ-123\&t=1\&**dest=develop**


Tags: bitbucket-cloud

cloud
Pipeline was Triggered but Tasks are stucked
Asked by Jo?o Henrique de Souza:

Hello,

My Pipeline was trigrered with success, but the progress of pipeline are stucked

My Bitbucket-pipelines.yml is the same of another project that pipelines runs gracefully.

Can anyone help me?

![Captura de Tela 2024-07-22 a?s 12.03.50.png](/t5/image/serverpage/image-id/337070iBE47C329CF1355A4/image-size/large?v=v2&px=999 "Captura de Tela 2024-07-22 a?s 12.03.50.png")


Answers:
author: Patrik S
body: Hello [@Jo?o Henrique de Souza](/t5/user/viewprofilepage/user-id/5549422) ,

and welcome to the Community!

Could you please confirm whether you are using self-hosted runners (where the build will run in your own infrastructure) or Atlassian runners (build runs in the Atlassian cloud)?

I ask this because if you are using self-hosted runners when you triggered that pipeline, all the runners that matched the labels were busy at that time, as a runner can only execute a step at a time. This will make the step queued until a runner finishes its current work and becomes available to be assigned a new step.

If that is the case, you could create more runners to increase the number of concurrent steps you could execute in your workspace/repository.

Thank you, [@Jo?o Henrique de Souza](/t5/user/viewprofilepage/user-id/5549422) !

Patrik S


Tags: bitbucket-cloud

cloud
Looking for a way to report on the number of code review comments made by developers
Asked by Shari Callahan:

we need to capture the number of comments made by each developer for a specific time period.

The output desired would include the specific timeframe, developer, # of PRs, # of comments.

Is that possible?

(Please note, I'm not a developer but will pass the info on to those that are).

thank you!


Answers:
author: Patrik S
body: Hello [@Shari Callahan](/t5/user/viewprofilepage/user-id/5549342) and welcome to the Community!

I see you have also opened a support ticket with this questios, but I'm just sharing the response here in case other users encounter the same scenario.

While we currently don't have a specific tool to generate those reports, that information is readily available in Bitbucket Cloud public API, which can be used to extract the information you are looking for

To gather that information, you could develop a script that pulls and sorts the information from our API. Here are some specific endpoints you can explore

* [List pull requests](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-get) (GET)
* [Get a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-get) (GET)
* [List comments on a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-comments-get) (GRT)

Full list of pull request endpoints - [Pullrequests](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-group-pullrequests)

Based on that endpoint, and the others available in the [public API documentation](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication), you can build personalized scripts to pull the information you need. A helpful guide on how to query/filter the API results on some example Python scripts can be found in the article below:

* [Generating Bitbucket Cloud Reports](https://confluence.atlassian.com/bbkb/generating-bitbucket-cloud-reports-1283364184.html)

Thank you, [@Shari Callahan](/t5/user/viewprofilepage/user-id/5549342) !  
Patrik S


Tags: bitbucket-cloud

cloud
Bitbuket repository
Asked by Fahim Ahmad:

size of Bitbuge Report is showing 2.2 GB and the size of local repo is 228 MB only


Answers:
author: Ben
body: Hi Fahim,

We attempted to run gc against your repository but it did not reduce the size.

I can see you have access to a Premium workspace, and therefore you are entitled to Premium support directly from our support team.

We will need you to raise a support ticket using the paid company workspace URL, as this Community post is a public forum and it would not be appropriate to share personal information regarding your workspace/repositories here:

* <https://support.atlassian.com/contact/>

If you have issues raising a ticket, please let me know what timezone you are in so I can raise a support ticket in the appropriate geo for you.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Give a group read access to all repos of a workspace
Asked by mhumair7:

Hi team,   

I need to give a group read access to all repos in a workspace.   
How can I do that ?  

<br />


Answers:
author: Theodora Boudale
body: Hi Muhammad and welcome to the community!

This cannot be set at the workspace level, but it can be done at the project level.

When you open the page of a Bitbucket workspace, you will see the **Projects** option at the top menu.

Click on that link, and then you can:

1. Select a project from the project list
2. Select **Project settings**
3. Select **Project permissions**
4. Add the group with **Read** permissions
5. Repeat steps 1 to 4 for all projects on your workspace

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


author: Ku?be
body: Hi [@mhumair7](/t5/user/viewprofilepage/user-id/5549087)   

Welcome to the community! To give a group access to all repos in a workspace you would need to follow these steps:

* **Go to Workspace Settings**:

  * Log in to Bitbucket.
  * Select the workspace.
  * Click on the workspace name.
* **Manage Groups**:

  * Go to "User and group access".
  * Click "Groups".
  * Select or create a group.
* **Set Permissions**:

  * Set each repository's permission to "Read" for the group.

Please let us know if you need further help...  

Best regards  
Kugbe

comments: author: mhumair7
body: There are a lot of repos in my current workspace. Is there an easier way to do this ?


author: Ku?be
body: Granting read access to all repositories in a Bitbucket workspace cannot be done directly through the Bitbucket web interface in one step. Instead, you have to set permissions for each repository individually through the Bitbucket web interface as stated by [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086).


Tags: bitbucket-cloud

cloud

groups

repository

workspace
I get an Error page everywhere
Asked by joakimsjostedt:

Suddenly an error page is shown on every page I enter. It says "Something went wrong" and then leaves me with some code line:

`3530228f748a42c190a2c35b619a6faf`

It occured after I created a PR. It has been this way quite some time. What's going on and how do I get it to work again?


Answers:
author: joakimsjostedt
body: Got it to work; apparently the date on my computer was wrong :/


Tags: bitbucket-cloud

cloud
Delete my account
Asked by Mona Ben:

I want to delete my account

thanks


Answers:
author: Theodora Boudale
body: Hi Mona,

Your question was created in the Bitbucket collection, but I don't see a Bitbucket Cloud account registered with your email address.

If you would like to delete your Atlassian account, you can find steps and further info on the following page:

* <https://support.atlassian.com/atlassian-account/docs/delete-your-atlassian-account/>

If your account is not managed, it can be deleted from the following page:

* <https://id.atlassian.com/manage-profile/account-preferences>

Please keep in mind that you will lose access to all Atlassian Cloud products that this account has access to.

If this concerns an account in a Bitbucket Server / Data Center instance, it can only be deleted by the administrator of that instance.

Kind regards,  
Theodora


Tags: bitbucket-unknown-hosting-type

unknown-hosting-type
use "-s recursive -X ours" for pull request
Asked by Alex_Cohn:

My Pull Request to a protected branch shows "You will need to resolve conflicts to be able to merge", but I locally I checked and it can be merged cleanly if I use \`git merge -s recursive -X ours\`.

Can I use this strategy to resolve the conflict?


Answers:
author: Syahrul
body: G'day, [@Alex_Cohn](/t5/user/viewprofilepage/user-id/5548423)

Welcome to the community!

It's hard to say what will happen without knowing your default merge strategies. Also, recursive merges are typically used when the branches to be merged have extremely diverged; if not, I highly do not suggest it.

Having said that, I highly suggest you check our documentation below on how to fix the merge conflict:

[Merge conflicts](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts)

Regards,  
Syahrul

comments: author: Alex_Cohn
body: There was some trivial merge issue which was not automatically resolved with default (new) strategy, but \`-s recursive\` handled it perfectly for me (locally). I know that I can simply merge to my branch locally and PR the merged version, and this is what I did in the end. But such workaround renders the git tree more criss-crossed and makes code review less clear.


Tags: bitbucket-cloud

cloud

merge

pull-request
Lost all history logs for my project
Asked by Boitumelo Phetla:

I did a git stash locally and pulled my remote repo. I lost all history commits


Answers:
author: Hana Ku?erov?
body: Hi [@Boitumelo Phetla](/t5/user/viewprofilepage/user-id/5548419) ,

welcome to the Atlassian community!

If you did git stash, you should be able to do git stash pop to have the local work back.


Tags: bitbucket-cloud

cloud
Is there any possibilities to migrate from one bitbucket workspace to another bitbucket workspace
Asked by Mykola Gora Jr.:

I currently have an old Bitbucket workspace containing several projects that I need to migrate to a new Bitbucket workspace. I'm looking for methods or tools that can facilitate this migration process. Could you provide detailed steps or options available for transferring projects from one Bitbucket workspace to another? Additionally, are there any considerations or potential issues I should be aware of during this migration?


Answers:
author: Hana Ku?erov?
body: Hi [@Mykola Gora Jr.](/t5/user/viewprofilepage/user-id/5523318) ,

welcome to the Atlassian community!

You can transfer the repositories from one workspace to another, see here: <https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/>


Tags: bitbucket-cloud

cloud
how to close the review which I created
Asked by Ravi Tej:

how to close the review which I created


Answers:
author: Ben Stuart
body: It could be that you can't close the review because no one has [completed your review](https://confluence.atlassian.com/crucible/completing-your-review-298977450.html).

One "gotcha" customers run into is that only users with the 'Complete' permission can complete a review. It could also be that you don't have close review permission as well. You may want to review [permission schemes](https://confluence.atlassian.com/crucible/permission-scheme-298977334.html) to make sure you are permitted to take those actions within the project.

I would recommend you read [Using Crucible](https://confluence.atlassian.com/crucible/using-crucible-298977437.html) for all the details.
The changes are not tracked
Asked by Vuebox:

Hello,

When I create a new commit (SVN), it appears on Crucible, with the right files modified on the commit. But the all content of the file is seen as recently added, not only my modifications (all the lines are in green). It is seen as it is the first version of the file.

Do you have an idea where the problem comes from?


Answers:
author: Vuebox
body: Ok, I just had to recreate the project and it worked.
Cant login to Fisheye and Crucible
Asked by ErnieErwee:

Install the Fisheye and Crucible (On development server) that also have Jira installed. After the installation I try to login. Absolutely no combination of name/password work (used the master password I just used) and the product cant be used. How do I either remove this completely or reset the password. I have search the web for several hours and found so far nothing works.


Answers:
author: Mikael Sandberg
body: Here are the instructions on how to reset the admin password, <https://confluence.atlassian.com/fisheye/how-to-reset-the-administration-page-password-in-fisheye-or-crucible-960155804.html>

comments: author: Thomas Deiler
body: Wonder if he already knows this page ...


author: ErnieErwee
body: I have tried that page and it does not work.


author: Ben Stuart
body: Did you use http://\<FECRU_URL\>:\<FECRU_PORT\>/admin/admin.do as the URL?

Only the built in admin user password that was reset would work here.


author: Ben Stuart
body: Was this instance migrated from another server? Previously, was it connected to AD or Crowd that is no longer available from Dev?


author: Thomas Deiler
body: Dear [@ErnieErwee](/t5/user/viewprofilepage/user-id/89843),

two Atlassian products installed on the same server - there always rings a bell: Have you modified the session id of one of the products? On default it's named JSESSIONID for each tomcat installed. You can change this for Jira by modifying the file

```
$JIRA_INSTALL/atlassian-jira/WEB-INF/web.xml
```

If this doesn't help, please post more details of your installation.

So long

Thomas

comments: author: ErnieErwee
body: Let me try and I will post shortly
Could not retrieve blame for file
Asked by Tamas Csabina:

I got the following error in one of the repositories in Fisheye:

> Wed Jan 16 12:33:13 GMT+100 2019: Repository index failed due to errorcom.cenqua.fisheye.rep.DbException: java.io.IOException: Could not retrieve blame for file src/userinterface/cfg_pages/pages/ui_cfgpage_work_water_func.c@5143e9bb085079c323b3949807c7cf2f8aa68430 java.io.IOException: Could not retrieve blame for file src/userinterface/cfg_pages/pages/ui_cfgpage_work_water_func.c@5143e9bb085079c323b3949807c7cf2f8aa68430 com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: com.atlassian.utils.process.ProcessException: While executing: "E:\\Program Files\\TortoiseHg-4.5.3\\hg.exe --config ui.verbose=false annotate -r 5143e9bb085079c323b3949807c7cf2f8aa68430 -c -f -l path:src/userinterface/cfg_pages/pages/ui_cfgpage_work_water_func.c" in \[E:\\ProgramData\\Atlassian\\fecru-home\\var\\cache\\cc_ixspray\\clone\] com.atlassian.utils.process.ProcessException: java.lang.RuntimeException: Failed to match line pageWorkWaterFunc.remainingProgr = IxCleanGetRemainingTime(pageWorkWaterFunc.smcMode); using pattern: \\s\*(\[0-9a-fA-F\]{12})\\s\*(.+?):\\s\*(\\d+):.\*? java.lang.RuntimeException: Failed to match line pageWorkWaterFunc.remainingProgr = IxCleanGetRemainingTime(pageWorkWaterFunc.smcMode); using pattern: \\s\*(\[0-9a-fA-F\]{12})\\s\*(.+?):\\s\*(\\d+):.\*?

This with version 4.6.0 20180726094856.

If I force a re-run, the error is gone. But it comes back after a couple of days.

Any tips what is causing this, and how to fix this?


Answers:
author: Ben Stuart
body: The cause of this error is likely that the repository cache in FishEye has become corrupt.

The workaround for this case would be the following:

1. Stop FishEye/Crucible service;
2. Delete the repository cache from FishEye in \<FISHEYE_INST\>/cache/REPO_NAME;
3. Start FishEye/Crucible;

If you are still encountering the error, there is likely something environmental that is corrupting the file system or messing with the permissions of the cache.
Why are Crucible email notifications so delayed?
Asked by Ryan Burns:

When a review event happens (review is started, comment is added, etc), my team and I don't get email notifications until \~10 minutes later. Does anyone know why this is and/or if it can be changed?


Answers:
author: Ben Stuart
body: Hey Ryan,

I believe you are experiencing expected behavior to prevent email spamming. According to

[Changing your user profile](https://confluence.atlassian.com/fisheye/changing-your-user-profile-960155402.html), it can take up to 30 minutes:
> **Batch Notifications** will be sent out by Crucible every 30 minutes. All notifications will be rolled up into a single digest e-mail.

Although in reality, usually it's faster depending on your role within a review. So for instance the author of the review will receive the email first, and the reviewers will wait a little longer (from 2 to 10 minutes). Unfortunately, this is not something that can be configured. I hope that helps clear things up!


Tags: developer
FishEye service still registered after Uninstalling Fisheye service
Asked by Bob Inskeep:

I followed the directions on "Uninstalling a Fisheye or Crucible service installed with the Fisheye/Crucible Windows Installer' toward the bottom of [this](https://confluence.atlassian.com/fisheye/upgrading-fisheye-on-windows-960155740.html#UpgradingFisheyeonWindows-install).

Th uninstall completed - however the 'Atlassian FishEye' is still registered as a service. 'The system cannot find the file specified' displays when I check the properties. Our system guy tried to get rid of it with sc.exe but to no avail.

This was in preparation of loading the upgrade to 4.6.1. Should I just go ahead and install it or should I pursue getting rid of the errant service before the installing.

Thanks.


Answers:
author: Bob Inskeep
body: we were able to get the service unregistered - installed software - life is good.